aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ftpq
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-01-24 15:52:21 +0800
committerbeech <beech@FreeBSD.org>2008-01-24 15:52:21 +0800
commit9ea5d688a70fbeff90329df2d6643a5d723b04d2 (patch)
tree70a754bfd5bc822e496fb300dabfa56c8a1ee67c /ftp/ftpq
parent991957fd3e5be24f3a353daf728755b35fd061a1 (diff)
downloadfreebsd-ports-gnome-9ea5d688a70fbeff90329df2d6643a5d723b04d2.tar.gz
freebsd-ports-gnome-9ea5d688a70fbeff90329df2d6643a5d723b04d2.tar.zst
freebsd-ports-gnome-9ea5d688a70fbeff90329df2d6643a5d723b04d2.zip
- Fix master_sites
- Fix pkg-plist - Makefile tweaks Approved by: linimon (mentor)
Diffstat (limited to 'ftp/ftpq')
-rw-r--r--ftp/ftpq/Makefile7
-rw-r--r--ftp/ftpq/pkg-plist8
2 files changed, 5 insertions, 10 deletions
diff --git a/ftp/ftpq/Makefile b/ftp/ftpq/Makefile
index 9280bc7ae8ad..281359b6985e 100644
--- a/ftp/ftpq/Makefile
+++ b/ftp/ftpq/Makefile
@@ -10,7 +10,7 @@ PORTVERSION= 1.06
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= ftp
-MASTER_SITES= http://tranchant.plus.com/software/
+MASTER_SITES= http://mark.tranchant.co.uk/software/
MAINTAINER= beech@FreeBSD.org
COMMENT= Upload queue manager for non-permanent connections
@@ -19,6 +19,7 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
MAN1= ftpq.1
PLIST_SUB+= SPOOLDIR=${SPOOLDIR}
+PORTDOCS= CHANGELOG README TODO
# This may be set interactively at install-time:
SPOOLDIR?= /var/spool/ftpq
@@ -31,9 +32,7 @@ post-install:
@ ${MKDIR} ${SPOOLDIR} && ${CHMOD} 777 ${SPOOLDIR}
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${DOCSDIR}
-.for docfile in CHANGELOG README TODO
- @ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
-.endfor
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/ftp/ftpq/pkg-plist b/ftp/ftpq/pkg-plist
index faa3d74a7aff..71b3ff2f511b 100644
--- a/ftp/ftpq/pkg-plist
+++ b/ftp/ftpq/pkg-plist
@@ -1,7 +1,3 @@
bin/ftpq
-%%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
+@exec mkdir -p %D%%SPOOLDIR%% && chmod 777 %D%%SPOOLDIR%%
+@unexec rmdir %D%%SPOOLDIR%% 2>/dev/null || true