aboutsummaryrefslogtreecommitdiff
path: root/ftp/pureadmin
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-02-08 22:35:58 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-02-08 22:35:58 +0000
commit54027defca57056c2288257855f7100bf0799233 (patch)
tree17cda33ac9e6bbdb0727d3fff257d437e418e57b /ftp/pureadmin
parentb6b512dba5012264055618800c00a7cb0f7b1972 (diff)
downloadports-54027defca57056c2288257855f7100bf0799233.tar.gz
ports-54027defca57056c2288257855f7100bf0799233.zip
Notes
Diffstat (limited to 'ftp/pureadmin')
-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>