- Remove leading indefinite article from COMMENT

- Remove LICENSE_FILE for well-known licenses
- Add OPTIONS_DEFINE
- Support STAGEDIR
- Take maintainership
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-09-23 19:06:06 +00:00
parent 0bc513777a
commit 784f47daef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328031

View file

@ -6,19 +6,19 @@ PORTVERSION= 1.8.0
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}logger/
MAINTAINER= ports@FreeBSD.org
COMMENT= An execve() wrapper and logger
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= execve() wrapper and logger
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS_DEFINE= DOCS
PLIST_FILES= lib/snoopy.so bin/detect
PORTDOCS= README
USES= gmake
GNU_CONFIGURE= yes
USES= gmake
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@ -26,11 +26,11 @@ post-patch:
@${REINPLACE_CMD} '/^LIBS.*/d' ${WRKSRC}/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/snoopy.so ${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/detect ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/detect ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/snoopy.so ${STAGEDIR}${PREFIX}/lib/
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.mk>