svn commit: r426994 - head/security/courieruserinfo

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Nov 24 09:01:12 UTC 2016


Author: amdmi3
Date: Thu Nov 24 09:01:10 2016
New Revision: 426994
URL: https://svnweb.freebsd.org/changeset/ports/426994

Log:
  - Add LICENSE
  - Switch to USES=localbase
  - Switch to options helpers

Modified:
  head/security/courieruserinfo/Makefile

Modified: head/security/courieruserinfo/Makefile
==============================================================================
--- head/security/courieruserinfo/Makefile	Thu Nov 24 08:57:38 2016	(r426993)
+++ head/security/courieruserinfo/Makefile	Thu Nov 24 09:01:10 2016	(r426994)
@@ -9,23 +9,24 @@ MASTER_SITES=	http://www.arda.homeunix.n
 MAINTAINER=	ports at 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}
 


More information about the svn-ports-all mailing list