diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2013-10-22 12:28:18 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2013-10-22 12:28:18 +0000 |
commit | 0ff7821a0d2457c4ac4edfd4841f8d2bc8174aeb (patch) | |
tree | 778ecde16310d4fa4964dd55055df1ba3f7f783c /japanese | |
parent | 47e0674bc7db7911135006e368f0eca8c9142c58 (diff) | |
download | ports-0ff7821a0d2457c4ac4edfd4841f8d2bc8174aeb.tar.gz ports-0ff7821a0d2457c4ac4edfd4841f8d2bc8174aeb.zip |
Notes
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/a2ps/Makefile | 14 | ||||
-rw-r--r-- | japanese/a2ps/files/patch-a2ps-j | 10 |
2 files changed, 9 insertions, 15 deletions
diff --git a/japanese/a2ps/Makefile b/japanese/a2ps/Makefile index 4231321610f3..60b38f1a48d0 100644 --- a/japanese/a2ps/Makefile +++ b/japanese/a2ps/Makefile @@ -3,7 +3,7 @@ PORTNAME= a2ps PORTVERSION= 1.45 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= japanese print MASTER_SITES= ftp://ftp.sra.co.jp/pub/lang/perl/sra-scripts/ \ ${MASTER_SITE_LOCAL:S|%SUBDIR%|tota/a2ps|} @@ -17,6 +17,10 @@ LICENSE= BSD RUN_DEPENDS= paperconf:${PORTSDIR}/print/libpaper +USES= perl5 shebangfix +USE_PERL5= run +SHEBANG_FILES= ${WRKDIR}/a2ps-j +perl_OLD_CMD= /usr/local/bin/perl PLIST_FILES= bin/a2ps-j EXTRACT_CMD= ${INSTALL_SCRIPT} EXTRACT_BEFORE_ARGS= # empty @@ -24,14 +28,10 @@ EXTRACT_AFTER_ARGS= a2ps-j NO_WRKSUBDIR= yes NO_BUILD= yes -NO_STAGE= yes post-patch: - ${REINPLACE_CMD} \ - -e 's,%%PERL%%,${PERL},' \ - -e 's,%%LOCALBASE%%,${LOCALBASE},' \ - ${WRKDIR}/a2ps-j + ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKDIR}/a2ps-j do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/a2ps-j ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKDIR}/a2ps-j ${STAGEDIR}${PREFIX}/bin .include <bsd.port.mk> diff --git a/japanese/a2ps/files/patch-a2ps-j b/japanese/a2ps/files/patch-a2ps-j index f67f9da53392..79c9160a6ad9 100644 --- a/japanese/a2ps/files/patch-a2ps-j +++ b/japanese/a2ps/files/patch-a2ps-j @@ -1,11 +1,5 @@ ---- a2ps-j.orig 2013-05-01 15:12:22.000000000 +0900 -+++ a2ps-j 2013-05-01 15:12:32.000000000 +0900 -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!%%PERL%% - ;# - ;# a2ps: ascii to ps - ;# +--- a2ps-j.orig 2013-10-22 21:19:43.000000000 +0900 ++++ a2ps-j 2013-10-22 21:20:30.000000000 +0900 @@ -51,14 +51,23 @@ @mon{@mon} = ($[ .. $#mon); @day{@day} = ($[ .. $#day); |