svn commit: r356147 - head/mail/qmail-remove
Michael Gmelin
grembo at FreeBSD.org
Sun Jun 1 16:22:36 UTC 2014
Author: grembo
Date: Sun Jun 1 16:22:35 2014
New Revision: 356147
URL: http://svnweb.freebsd.org/changeset/ports/356147
QAT: https://qat.redports.org/buildarchive/r356147/
Log:
Stagify. Shebangfix. Also renamed populate.pl to
populate-qmail-queue.pl, since it lives in $PREFIX/bin.
Bumped PORTREVISION due to this change. Since I don't
expect many people to use populate.pl I did not add
USES= perl5
Reviewed by: flo (mentor)
Approved by: flo (mentor)
Modified:
head/mail/qmail-remove/Makefile
Modified: head/mail/qmail-remove/Makefile
==============================================================================
--- head/mail/qmail-remove/Makefile Sun Jun 1 16:03:48 2014 (r356146)
+++ head/mail/qmail-remove/Makefile Sun Jun 1 16:22:35 2014 (r356147)
@@ -3,16 +3,19 @@
PORTNAME= qmail-remove
PORTVERSION= 0.95
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.linuxmagic.com/opensource/qmail/qmail-remove/
MAINTAINER= ports at FreeBSD.org
COMMENT= Removes messages from your qmail queue based on a particular string
-PLIST_FILES= sbin/qmail-remove bin/populate.pl
+PLIST_FILES= sbin/qmail-remove bin/populate-qmail-queue.pl
PORTDOCS= INSTALL LICENSE README
-NO_STAGE= yes
+USES= shebangfix
+SHEBANG_FILES= populate.pl
+
do-build:
@(cd ${WRKSRC} ;\
${ECHO_MSG} "Compiling ${PORTNAME}:" ; \
@@ -20,12 +23,13 @@ do-build:
${CC} ${CFLAGS} ${LDFLAGS} ${PORTNAME}.c -o ${PORTNAME} )
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
- @${INSTALL_SCRIPT} ${WRKSRC}/populate.pl ${PREFIX}/bin
+ @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
+ @${INSTALL_SCRIPT} ${WRKSRC}/populate.pl \
+ ${STAGEDIR}${PREFIX}/bin/populate-qmail-queue.pl
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
More information about the svn-ports-all
mailing list