svn commit: r343405 - head/ftp/pureadmin
Danilo Egea Gondolfo
danilo at FreeBSD.org
Sat Feb 8 22:35:59 UTC 2014
Author: danilo
Date: Sat Feb 8 22:35:58 2014
New Revision: 343405
URL: http://svnweb.freebsd.org/changeset/ports/343405
QAT: https://qat.redports.org/buildarchive/r343405/
Log:
- Add DOCS option
- Add stage support
- Add LICENSE
Modified:
head/ftp/pureadmin/Makefile
Modified: head/ftp/pureadmin/Makefile
==============================================================================
--- head/ftp/pureadmin/Makefile Sat Feb 8 22:30:27 2014 (r343404)
+++ head/ftp/pureadmin/Makefile Sat Feb 8 22:35:58 2014 (r343405)
@@ -10,25 +10,26 @@ MASTER_SITES= SF/purify/Default/${PORTVE
MAINTAINER= ports at 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>
More information about the svn-ports-all
mailing list