1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Add DOCS option

- Add stage support
- Add LICENSE
This commit is contained in:
Danilo Egea Gondolfo 2014-02-08 22:35:58 +00:00
parent b6b512dba5
commit 54027defca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343405

View File

@ -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>