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
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Management utility for the PureFTPd
|
COMMENT= Management utility for the PureFTPd
|
||||||
|
|
||||||
|
LICENSE= GPLv2
|
||||||
|
|
||||||
USES= fam gettext gmake pathfix pkgconfig
|
USES= fam gettext gmake pathfix pkgconfig
|
||||||
USE_GNOME= libglade2
|
USE_GNOME= libglade2
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
INSTALLS_ICONS= yes
|
INSTALLS_ICONS= yes
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib -lm ${PTHREAD_LIBS}
|
LDFLAGS+= -L${LOCALBASE}/lib -lm ${PTHREAD_LIBS}
|
||||||
|
|
||||||
PORTDOCS= index.txt introduction.txt main_window.txt \
|
PORTDOCS= index.txt introduction.txt main_window.txt \
|
||||||
preferences.txt user_manager.txt
|
preferences.txt user_manager.txt
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
@${REINPLACE_CMD} -e '/install-data-local:/s|install-docs||' ${WRKSRC}/Makefile.in
|
@${REINPLACE_CMD} -e '/install-data-local:/s|install-docs||' ${WRKSRC}/Makefile.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@${MKDIR} ${DOCSDIR}
|
cd ${WRKSRC}/docs/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
|
||||||
@cd ${WRKSRC}/docs/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user