summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2008-01-24 07:52:21 +0000
committerBeech Rintoul <beech@FreeBSD.org>2008-01-24 07:52:21 +0000
commite249f2b9417d363cfe2012d22d73defd8857a9b6 (patch)
treeff3fc21bb7d0102d057f386f9a7c31a3540680a4 /ftp
parentThis is a python bindings for MeCab. (diff)
- Fix master_sites
- Fix pkg-plist - Makefile tweaks Approved by: linimon (mentor)
Notes
Notes: svn path=/head/; revision=206119
Diffstat (limited to 'ftp')
-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