aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-04-19 07:24:20 +0800
committeradamw <adamw@FreeBSD.org>2014-04-19 07:24:20 +0800
commit56dfd0771225ec93ef6a66a213781cc33275fe5b (patch)
tree72791b7a20208c7ffdd8b38b1df71363731cd326
parent9f606e11c25ca4e5e434cbca32ae04b84511ffc7 (diff)
downloadfreebsd-ports-gnome-56dfd0771225ec93ef6a66a213781cc33275fe5b.tar.gz
freebsd-ports-gnome-56dfd0771225ec93ef6a66a213781cc33275fe5b.tar.zst
freebsd-ports-gnome-56dfd0771225ec93ef6a66a213781cc33275fe5b.zip
STAGE support.
-rw-r--r--ftp/tnftpd/Makefile39
1 files changed, 17 insertions, 22 deletions
diff --git a/ftp/tnftpd/Makefile b/ftp/tnftpd/Makefile
index 04c82b190c18..b03f99d6eea2 100644
--- a/ftp/tnftpd/Makefile
+++ b/ftp/tnftpd/Makefile
@@ -13,7 +13,13 @@ USE_AUTOTOOLS= aclocal automake libtool
AUTOMAKE_ARGS= --add-missing
ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
-NO_STAGE= yes
+PLIST_FILES= libexec/tnftpd \
+ man/man5/ftpd.conf.5.gz man/man5/ftpusers.5.gz man/man8/tnftpd.8.gz
+PORTDOCS= ChangeLog NEWS README THANKS COPYING
+PORTEXAMPLES= ftpd.conf ftpusers
+
+SUB_FILES= pkg-message
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 900007
@@ -22,33 +28,22 @@ CFLAGS+= -DSUPPORT_UTMPX
CFLAGS+= -DSUPPORT_UTMP
.endif
-MAN5= ftpd.conf.5 ftpusers.5
-MAN8= tnftpd.8
-PLIST_FILES= libexec/tnftpd
-PORTDOCS= ChangeLog NEWS README THANKS COPYING
-PORTEXAMPLES= ftpd.conf ftpusers
-
-SUB_FILES= pkg-message
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/tnftpd ${PREFIX}/libexec
- ${INSTALL_MAN} ${WRKSRC}/src/ftpd.conf.man ${PREFIX}/man/man5/ftpd.conf.5
- ${INSTALL_MAN} ${WRKSRC}/src/ftpusers.man ${PREFIX}/man/man5/ftpusers.5
- ${INSTALL_MAN} ${WRKSRC}/src/tnftpd.man ${PREFIX}/man/man8/tnftpd.8
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/tnftpd ${STAGEDIR}${PREFIX}/libexec
+ ${INSTALL_MAN} ${WRKSRC}/src/ftpd.conf.man ${STAGEDIR}${PREFIX}/man/man5/ftpd.conf.5
+ ${INSTALL_MAN} ${WRKSRC}/src/ftpusers.man ${STAGEDIR}${PREFIX}/man/man5/ftpusers.5
+ ${INSTALL_MAN} ${WRKSRC}/src/tnftpd.man ${STAGEDIR}${PREFIX}/man/man8/tnftpd.8
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
-.if !defined(NOPORTEXAMPLES)
- ${MKDIR} ${EXAMPLESDIR}
+.if ${PORT_OPTIONS:MEXAMPLES}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR}
.endfor
.endif
-post-install:
- @${CAT} ${PKGMESSAGE}
-
.include <bsd.port.post.mk>