aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2014-02-09 06:35:58 +0800
committerdanilo <danilo@FreeBSD.org>2014-02-09 06:35:58 +0800
commitb3cb1f530b82ae98dfb7b95bb5399464b5bc26dd (patch)
tree17cda33ac9e6bbdb0727d3fff257d437e418e57b /ftp
parent12b6afd7aad63f1df516d415bfe75e2a9655993a (diff)
downloadfreebsd-ports-gnome-b3cb1f530b82ae98dfb7b95bb5399464b5bc26dd.tar.gz
freebsd-ports-gnome-b3cb1f530b82ae98dfb7b95bb5399464b5bc26dd.tar.zst
freebsd-ports-gnome-b3cb1f530b82ae98dfb7b95bb5399464b5bc26dd.zip
- Add DOCS option
- Add stage support - Add LICENSE
Diffstat (limited to 'ftp')
-rw-r--r--ftp/pureadmin/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/ftp/pureadmin/Makefile b/ftp/pureadmin/Makefile
index 0fbc66a26bb8..7eca8f4ba9a5 100644
--- a/ftp/pureadmin/Makefile
+++ b/ftp/pureadmin/Makefile
@@ -10,25 +10,26 @@ MASTER_SITES= SF/purify/Default/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Management utility for the PureFTPd
+LICENSE= GPLv2
+
USES= fam gettext gmake pathfix pkgconfig
USE_GNOME= libglade2
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
+OPTIONS_DEFINE= DOCS
+
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib -lm ${PTHREAD_LIBS}
PORTDOCS= index.txt introduction.txt main_window.txt \
preferences.txt user_manager.txt
-NO_STAGE= yes
pre-configure:
@${REINPLACE_CMD} -e '/install-data-local:/s|install-docs||' ${WRKSRC}/Makefile.in
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @cd ${WRKSRC}/docs/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/docs/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>