aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ftpq/Makefile
diff options
context:
space:
mode:
authorwjv <wjv@FreeBSD.org>2001-09-05 21:21:36 +0800
committerwjv <wjv@FreeBSD.org>2001-09-05 21:21:36 +0800
commit0c247757633bbccedc7c07f9ca850ae7f98a7cf0 (patch)
tree6e6b10c085a504a5a40f559130fe795975d6c244 /ftp/ftpq/Makefile
parentf5710fcb550649d776083c56c678907ebd342786 (diff)
downloadfreebsd-ports-gnome-0c247757633bbccedc7c07f9ca850ae7f98a7cf0.tar.gz
freebsd-ports-gnome-0c247757633bbccedc7c07f9ca850ae7f98a7cf0.tar.zst
freebsd-ports-gnome-0c247757633bbccedc7c07f9ca850ae7f98a7cf0.zip
- Downgrade to version 1.05 at the express request of the author. The 1.1x
code tree is, in the author's opinion, not even ready for a -devel port. - Bumped PORTEPOCH because of the above. - Make SPOOLDIR a variable which may be altered by the user at install time. Submitted by: Mark Tranchant <mark@tranchant.freeserve.co.uk>
Diffstat (limited to 'ftp/ftpq/Makefile')
-rw-r--r--ftp/ftpq/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/ftp/ftpq/Makefile b/ftp/ftpq/Makefile
index 88dd2c2e38ed..b9d94da85d61 100644
--- a/ftp/ftpq/Makefile
+++ b/ftp/ftpq/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= ftpq
-PORTVERSION= 1.10
+PORTVERSION= 1.05
+PORTEPOCH= 1
CATEGORIES= ftp
MASTER_SITES= http://www.tranchant.freeserve.co.uk/software/
@@ -15,9 +16,14 @@ MAINTAINER= ports@FreeBSD.org
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAN1= ftpq.1
+SPOOLDIR?= /var/spool/ftpq
+PLIST_SUB+= SPOOLDIR=${SPOOLDIR}
+
+post-patch:
+ @ ${PERL} -pi -e 's#%%SPOOLDIR%%#${SPOOLDIR}#' \
+ ${WRKSRC}/Makefile.in ${WRKSRC}/src/ftpq.h
post-install:
- @${MKDIR} /var/spool/ftpq
- @${CHMOD} 777 /var/spool/ftpq
+ @ ${MKDIR} ${SPOOLDIR} && ${CHMOD} 777 ${SPOOLDIR}
.include <bsd.port.mk>