From 0d90640fda7dc59ef8eb68662cc05529922c1cc4 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 24 Nov 2016 09:01:10 +0000 Subject: [PATCH] - Add LICENSE - Switch to USES=localbase - Switch to options helpers --- security/courieruserinfo/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/security/courieruserinfo/Makefile b/security/courieruserinfo/Makefile index e206c821787c..0ca6ce5d167f 100644 --- a/security/courieruserinfo/Makefile +++ b/security/courieruserinfo/Makefile @@ -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}