svn commit: r353579 - head/japanese/mime_pls

Pawel Pekala pawel at FreeBSD.org
Sat May 10 16:37:24 UTC 2014


Author: pawel
Date: Sat May 10 16:37:23 2014
New Revision: 353579
URL: http://svnweb.freebsd.org/changeset/ports/353579
QAT: https://qat.redports.org/buildarchive/r353579/

Log:
  - Add staging support
  - Fix few shwbangs

Modified:
  head/japanese/mime_pls/Makefile

Modified: head/japanese/mime_pls/Makefile
==============================================================================
--- head/japanese/mime_pls/Makefile	Sat May 10 16:35:58 2014	(r353578)
+++ head/japanese/mime_pls/Makefile	Sat May 10 16:37:23 2014	(r353579)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mime_pls
 PORTVERSION=	2.02
+PORTREVISION=	1
 CATEGORIES=	japanese perl5 mail
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	nork
@@ -13,7 +14,8 @@ EXTRACT_SUFX=	.tgz
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Perl Library for MIME encode/decode
 
-USES=		perl5
+USES=		perl5 shebangfix
+SHEBANG_FILES=	${BINS}
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
 
@@ -21,9 +23,9 @@ BINS=		rmime wmime rbody wbody
 LIBS=		mimer.pl mimew.pl
 PLIST_FILES=	${BINS:C,^,bin/,} ${LIBS:C,^,${SITE_PERL_REL}/,}
 
-NO_STAGE=	yes
 do-install:
-		@${INSTALL_SCRIPT} ${BINS:C,^,${WRKSRC}/,} ${PREFIX}/bin
-		@${INSTALL_DATA}   ${LIBS:C,^,${WRKSRC}/,} ${SITE_PERL}
+	${INSTALL_SCRIPT} ${BINS:C,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${SITE_PERL}
+	${INSTALL_DATA}   ${LIBS:C,^,${WRKSRC}/,} ${STAGEDIR}${SITE_PERL}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list