diff options
author | Johann Visagie <wjv@FreeBSD.org> | 2001-09-05 14:36:53 +0000 |
---|---|---|
committer | Johann Visagie <wjv@FreeBSD.org> | 2001-09-05 14:36:53 +0000 |
commit | 5d72c36234ca7204c84199be0fe2f94ba87ab1ec (patch) | |
tree | 04e971206aa89a8f37a455d049d201b0743ad4e2 /ftp/ftpq | |
parent | Upgrade to 0.25.2 (diff) |
- Install some basic documentation in DOCSDIR
- Change the mode of SPOOLDIR if installed as package
- Bump PORTREVISION
Diffstat (limited to 'ftp/ftpq')
-rw-r--r-- | ftp/ftpq/Makefile | 11 | ||||
-rw-r--r-- | ftp/ftpq/pkg-plist | 6 |
2 files changed, 15 insertions, 2 deletions
diff --git a/ftp/ftpq/Makefile b/ftp/ftpq/Makefile index b9d94da85d61..f85ce20ec503 100644 --- a/ftp/ftpq/Makefile +++ b/ftp/ftpq/Makefile @@ -7,6 +7,7 @@ PORTNAME= ftpq PORTVERSION= 1.05 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= ftp MASTER_SITES= http://www.tranchant.freeserve.co.uk/software/ @@ -16,14 +17,22 @@ MAINTAINER= ports@FreeBSD.org USE_GMAKE= yes GNU_CONFIGURE= yes MAN1= ftpq.1 -SPOOLDIR?= /var/spool/ftpq PLIST_SUB+= SPOOLDIR=${SPOOLDIR} +# This may be set interactively at install-time: +SPOOLDIR?= /var/spool/ftpq + post-patch: @ ${PERL} -pi -e 's#%%SPOOLDIR%%#${SPOOLDIR}#' \ ${WRKSRC}/Makefile.in ${WRKSRC}/src/ftpq.h post-install: @ ${MKDIR} ${SPOOLDIR} && ${CHMOD} 777 ${SPOOLDIR} +.if !defined(NOPORTDOCS) + @ ${MKDIR} ${DOCSDIR} +.for docfile in CHANGELOG README TODO + @ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} +.endfor +.endif .include <bsd.port.mk> diff --git a/ftp/ftpq/pkg-plist b/ftp/ftpq/pkg-plist index 303edce80e35..faa3d74a7aff 100644 --- a/ftp/ftpq/pkg-plist +++ b/ftp/ftpq/pkg-plist @@ -1,3 +1,7 @@ bin/ftpq -@exec mkdir -p %%SPOOLDIR%% +%%PORTDOCS%%share/doc/ftpq/CHANGELOG +%%PORTDOCS%%share/doc/ftpq/README +%%PORTDOCS%%share/doc/ftpq/TODO +%%PORTDOCS%%@dirrm share/doc/ftpq +@exec mkdir -p %%SPOOLDIR%% && chmod 777 %%SPOOLDIR%% @unexec rmdir %%SPOOLDIR%% 2>/dev/null || true |