Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2014 16:22:36 +0000 (UTC)
From:      Michael Gmelin <grembo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356147 - head/mail/qmail-remove
Message-ID:  <201406011622.s51GMaiO051600@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406011622.s51GMaiO051600>