- Add LICENSE

- Switch to USES=localbase
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-11-24 09:01:10 +00:00
parent fc0f70a87d
commit 0d90640fda
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426994

View File

@ -9,23 +9,24 @@ MASTER_SITES= http://www.arda.homeunix.net/software-downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= User account information retrieval utility
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= courierauthconfig:security/courier-authlib-base
RUN_DEPENDS= courierauthconfig:security/courier-authlib-base
GNU_CONFIGURE= yes
USES= gmake
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USES= gmake localbase
PLIST_FILES= sbin/courieruserinfo man/man8/courieruserinfo.8.gz
PORTDOCS= AUTHORS ChangeLog COPYING INSTALL NEWS README
PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} '/chown root/d' ${WRKSRC}/Makefile.in
post-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}