svn commit: r309733 - head/security/snoopy

Baptiste Daroussin bapt at FreeBSD.org
Mon Dec 31 12:47:33 UTC 2012


Author: bapt
Date: Mon Dec 31 12:47:32 2012
New Revision: 309733
URL: http://svnweb.freebsd.org/changeset/ports/309733

Log:
  Convert to optionsng
  Trim headers

Modified:
  head/security/snoopy/Makefile

Modified: head/security/snoopy/Makefile
==============================================================================
--- head/security/snoopy/Makefile	Mon Dec 31 12:46:02 2012	(r309732)
+++ head/security/snoopy/Makefile	Mon Dec 31 12:47:32 2012	(r309733)
@@ -1,6 +1,4 @@
-# New ports collection makefile for:   snoopy
-# Date created:                3 February 2007
-# Whom:                        Philippe Audeoud <jadawin at tuxaco.net>
+# Created by: Philippe Audeoud <jadawin at tuxaco.net>
 # $FreeBSD$
 
 PORTNAME=	snoopy
@@ -20,6 +18,8 @@ PORTDOCS=	README
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 
+.include <bsd.port.options.mk>
+
 post-patch:
 	@${REINPLACE_CMD} 's|/usr/local|${PREFIX}|g' ${WRKSRC}/README
 	@${REINPLACE_CMD} '/^LIBS.*/d' ${WRKSRC}/Makefile.in
@@ -27,7 +27,7 @@ post-patch:
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/snoopy.so ${PREFIX}/lib
 	${INSTALL_PROGRAM} ${WRKSRC}/detect ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
 .endif


More information about the svn-ports-all mailing list