svn commit: r355783 - head/security/oinkmaster
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri May 30 05:32:03 UTC 2014
Author: sunpoet
Date: Fri May 30 05:32:02 2014
New Revision: 355783
URL: http://svnweb.freebsd.org/changeset/ports/355783
QAT: https://qat.redports.org/buildarchive/r355783/
Log:
- Reset maintainership
- While I'm here:
- Add LICENSE
- Convert to new options framework
- Support STAGEDIR
PR: ports/190386
Submitted by: Linh Pham <question+fbsdports at closedsrc.org> (maintainer)
Modified:
head/security/oinkmaster/Makefile
Modified: head/security/oinkmaster/Makefile
==============================================================================
--- head/security/oinkmaster/Makefile Fri May 30 05:31:58 2014 (r355782)
+++ head/security/oinkmaster/Makefile Fri May 30 05:32:02 2014 (r355783)
@@ -7,37 +7,35 @@ PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF
-MAINTAINER= question+fbsdports at closedsrc.org
+MAINTAINER= ports at 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>
More information about the svn-ports-all
mailing list