diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2014-05-30 13:32:02 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2014-05-30 13:32:02 +0800 |
commit | a33035b2a2eed02c6f436254bf72c13a6b4dca10 (patch) | |
tree | f1aa5d9837359ce0a479a01107b92a7bb0480471 /security/oinkmaster | |
parent | afbffc2823f0ac69fdee0f23eb290ec69046dd1a (diff) | |
download | freebsd-ports-gnome-a33035b2a2eed02c6f436254bf72c13a6b4dca10.tar.gz freebsd-ports-gnome-a33035b2a2eed02c6f436254bf72c13a6b4dca10.tar.zst freebsd-ports-gnome-a33035b2a2eed02c6f436254bf72c13a6b4dca10.zip |
- Reset maintainership
- While I'm here:
- Add LICENSE
- Convert to new options framework
- Support STAGEDIR
PR: ports/190386
Submitted by: Linh Pham <question+fbsdports@closedsrc.org> (maintainer)
Diffstat (limited to 'security/oinkmaster')
-rw-r--r-- | security/oinkmaster/Makefile | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/security/oinkmaster/Makefile b/security/oinkmaster/Makefile index d06376098cf6..d81a9fb70e54 100644 --- a/security/oinkmaster/Makefile +++ b/security/oinkmaster/Makefile @@ -7,37 +7,35 @@ PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF -MAINTAINER= question+fbsdports@closedsrc.org +MAINTAINER= ports@FreeBSD.org COMMENT= Help you update your snort rules after each update +LICENSE= BSD3CLAUSE + RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget +OPTIONS_DEFINE= DOCS + NO_BUILD= yes USES= perl5 USE_PERL5= run -PLIST_FILES= bin/oinkmaster etc/oinkmaster.conf.sample +PLIST_FILES= bin/oinkmaster \ + etc/oinkmaster.conf.sample \ + man/man1/oinkmaster.1.gz -.if !defined(NOPORTDOCS) PORTDOCS= README -.endif - -MAN1= oinkmaster.1 -MANCOMPRESSED= no -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},g' \ -e 's,"tPf","tf",' \ ${WRKSRC}/oinkmaster.pl do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/oinkmaster.pl ${PREFIX}/bin/oinkmaster - ${INSTALL_DATA} ${WRKSRC}/oinkmaster.conf ${PREFIX}/etc/oinkmaster.conf.sample - ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1 -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/oinkmaster.pl ${STAGEDIR}${PREFIX}/bin/oinkmaster + ${INSTALL_DATA} ${WRKSRC}/oinkmaster.conf ${STAGEDIR}${PREFIX}/etc/oinkmaster.conf.sample + ${INSTALL_MAN} ${WRKSRC}/oinkmaster.1 ${STAGEDIR}${PREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |