mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Add DOCS option
- Add stage support - Add LICENSE
This commit is contained in:
parent
b6b512dba5
commit
54027defca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343405
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user