diff options
author | grembo <grembo@FreeBSD.org> | 2014-06-02 00:22:35 +0800 |
---|---|---|
committer | grembo <grembo@FreeBSD.org> | 2014-06-02 00:22:35 +0800 |
commit | 097d2c49007f2acd80c28405d312cdd8cee9f4d7 (patch) | |
tree | 338bb8bb9b42a6340e7923a43af1ee22502dd5c9 /mail | |
parent | f194ccd47b48ccdbe7cc275e440426b7ab9494ff (diff) | |
download | freebsd-ports-gnome-097d2c49007f2acd80c28405d312cdd8cee9f4d7.tar.gz freebsd-ports-gnome-097d2c49007f2acd80c28405d312cdd8cee9f4d7.tar.zst freebsd-ports-gnome-097d2c49007f2acd80c28405d312cdd8cee9f4d7.zip |
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)
Diffstat (limited to 'mail')
-rw-r--r-- | mail/qmail-remove/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/mail/qmail-remove/Makefile b/mail/qmail-remove/Makefile index 9e60b0dd0e2d..559e6d067f5a 100644 --- a/mail/qmail-remove/Makefile +++ b/mail/qmail-remove/Makefile @@ -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@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 |