aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-05 07:51:31 +0800
committerbapt <bapt@FreeBSD.org>2014-01-05 07:51:31 +0800
commit80ab29344a1b5d6a694f02ed87c4bb2ccbf24808 (patch)
tree72dbccb45f377bfe47661e03506cfee71bdad9e3
parentfa4e65967c9c072bb431a88c56d2bb092c515f55 (diff)
downloadfreebsd-ports-gnome-80ab29344a1b5d6a694f02ed87c4bb2ccbf24808.tar.gz
freebsd-ports-gnome-80ab29344a1b5d6a694f02ed87c4bb2ccbf24808.tar.zst
freebsd-ports-gnome-80ab29344a1b5d6a694f02ed87c4bb2ccbf24808.zip
Support stage by cheating on PREFIX
-rw-r--r--archivers/hpack.non-usa.only/Makefile5
-rw-r--r--archivers/hpack.non-usa.only/pkg-plist1
2 files changed, 3 insertions, 3 deletions
diff --git a/archivers/hpack.non-usa.only/Makefile b/archivers/hpack.non-usa.only/Makefile
index ba779418fca7..a1c145a89cc4 100644
--- a/archivers/hpack.non-usa.only/Makefile
+++ b/archivers/hpack.non-usa.only/Makefile
@@ -11,13 +11,12 @@ DISTNAME= hpack79src
MAINTAINER= sylvio@FreeBSD.org
COMMENT= Multi-System Archiver with open keys PGP-based security
-NO_STAGE= yes
USE_CSTD= gnu89
NO_WRKSUBDIR= yes
MAKEFILE= makefile
ALL_TARGET= freebsd
+MAKE_ARGS+= PREFIX=${STAGEDIR}${PREFIX}
INSTALL_TARGET= freebsd.install
-MAN1= hpack.1
post-patch:
.for f in language/language.c cli.c
@@ -25,6 +24,6 @@ post-patch:
.endfor
post-install:
- @${INSTALL_DATA} ${WRKSRC}/docs/hpack.cfg ${PREFIX}/etc/hpack.cfg.dist
+ @${INSTALL_DATA} ${WRKSRC}/docs/hpack.cfg ${STAGEDIR}${PREFIX}/etc/hpack.cfg.dist
.include <bsd.port.mk>
diff --git a/archivers/hpack.non-usa.only/pkg-plist b/archivers/hpack.non-usa.only/pkg-plist
index 23ba60597027..90a89be4d852 100644
--- a/archivers/hpack.non-usa.only/pkg-plist
+++ b/archivers/hpack.non-usa.only/pkg-plist
@@ -4,4 +4,5 @@ bin/keycvt
etc/hpack.cfg.dist
@exec [ -f %B/hpack.cfg ] || cp %B/%f %B/hpack.cfg
lib/hpack/language.dat
+man/man1/hpack.1.gz
@dirrm lib/hpack