aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-06-03 13:10:03 +0800
committermiwi <miwi@FreeBSD.org>2014-06-03 13:10:03 +0800
commit3761141db123945d256e62da1b4079f770bac598 (patch)
treeaba6d30e64b7e4776f9cb85259b15ee76e6156e6 /www
parentcd676ae2f65b7b642f39e59dada689fb9c47bcbc (diff)
downloadfreebsd-ports-gnome-3761141db123945d256e62da1b4079f770bac598.tar.gz
freebsd-ports-gnome-3761141db123945d256e62da1b4079f770bac598.tar.zst
freebsd-ports-gnome-3761141db123945d256e62da1b4079f770bac598.zip
- Stage support
PR: 190379
Diffstat (limited to 'www')
-rw-r--r--www/reportmagic/Makefile3
-rw-r--r--www/reportmagic/files/patch-aa8
2 files changed, 5 insertions, 6 deletions
diff --git a/www/reportmagic/Makefile b/www/reportmagic/Makefile
index 1138f7d3944b..f914ec49827a 100644
--- a/www/reportmagic/Makefile
+++ b/www/reportmagic/Makefile
@@ -24,9 +24,8 @@ RUN_DEPENDS= analog:${PORTSDIR}/www/analog \
WRKSRC= ${WRKDIR}/${DISTNAME}
NO_BUILD= YES
-NO_STAGE= yes
do-install:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Install.PL -no_modules
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} DESTDIR=${STAGEDIR} ${PERL5} Install.PL -no_modules
post-install:
@${ECHO}
diff --git a/www/reportmagic/files/patch-aa b/www/reportmagic/files/patch-aa
index 7bdb922cae2f..cee303fd7217 100644
--- a/www/reportmagic/files/patch-aa
+++ b/www/reportmagic/files/patch-aa
@@ -1,18 +1,18 @@
---- Install.PL.orig Wed Apr 2 09:21:00 2003
-+++ Install.PL Fri Apr 4 19:59:41 2003
+--- Install.PL.orig 2003-04-02 02:21:00.000000000 -0700
++++ Install.PL 2014-05-29 11:23:05.000000000 -0700
@@ -59,13 +59,13 @@
# example to use the version number in your path.
# Make sure this remains in single quotes.
#
-$DEST = '/usr/local/bin/rmagic-$(VERSION)/';
-+$DEST = "$ENV{'PREFIX'}/reportmagic/";
++$DEST = "$ENV{'DESTDIR'}$ENV{'PREFIX'}/reportmagic/";
#
# Where do you want documentation to be installed?
# You can use string concatenation, as in this example,
# to install the docs below the program.
-$DOC = $DEST . 'docs/';
-+$DOC = "$ENV{'PREFIX'}/share/doc/reportmagic/";
++$DOC = "$ENV{'DESTDIR'}$ENV{'PREFIX'}/share/doc/reportmagic/";
#