- Clarify LICENSE

- Add LICENSE_FILE
- Switch to USES=localbase
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-01-31 21:46:33 +00:00
parent b2c43980fb
commit b5838b922d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407670

View file

@ -10,25 +10,24 @@ MASTER_SITES= SF/purify/Default/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Management utility for the PureFTPd
LICENSE= GPLv2
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= fam gettext gmake pathfix pkgconfig
USES= fam gettext gmake localbase pathfix pkgconfig
USE_GNOME= intltool libglade2
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
OPTIONS_DEFINE= DOCS
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lX11 -lm
LIBS+= -lX11 -lm
PORTDOCS= index.txt introduction.txt main_window.txt \
preferences.txt user_manager.txt
OPTIONS_DEFINE= DOCS
pre-configure:
@${REINPLACE_CMD} -e '/install-data-local:/s|install-docs||' ${WRKSRC}/Makefile.in
post-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/