diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-04-27 19:07:52 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-04-27 19:07:52 +0000 |
commit | 2b0f6eddd3df53fa8c195ec9f6713e8d808d194b (patch) | |
tree | f5a13b9bf4fe94fcc87d57e4c340a4e1de37ebb3 /graphics/jgraph | |
parent | 1a7693cfbf0eb4d19ff917b360991e7e04322d89 (diff) | |
download | ports-2b0f6eddd3df53fa8c195ec9f6713e8d808d194b.tar.gz ports-2b0f6eddd3df53fa8c195ec9f6713e8d808d194b.zip |
Add staging support
Notes
Notes:
svn path=/head/; revision=352449
Diffstat (limited to 'graphics/jgraph')
-rw-r--r-- | graphics/jgraph/Makefile | 8 | ||||
-rw-r--r-- | graphics/jgraph/pkg-plist | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/graphics/jgraph/Makefile b/graphics/jgraph/Makefile index 811538ccba4d..2045941ce8e0 100644 --- a/graphics/jgraph/Makefile +++ b/graphics/jgraph/Makefile @@ -16,12 +16,12 @@ EXTRACT_BEFORE_ARGS= -c EXTRACT_AFTER_ARGS= | ${SH} NO_WRKSUBDIR= yes -MAN1= jgraph.1 MAKEFILE= makefile - MAKE_ENV+= DATADIR=${DATADIR} - CFLAGS+= -Wno-return-type -NO_STAGE= yes +post-patch: + @${REINPLACE_CMD} -E -e 's,(PREFIX|DATADIR)},DESTDIR}$${&,' \ + -e 's|-o bin -g bin||' ${WRKSRC}/makefile + .include <bsd.port.mk> diff --git a/graphics/jgraph/pkg-plist b/graphics/jgraph/pkg-plist index b878de0a36b7..ecfdc014d383 100644 --- a/graphics/jgraph/pkg-plist +++ b/graphics/jgraph/pkg-plist @@ -1,4 +1,5 @@ bin/jgraph +man/man1/jgraph.1.gz %%DATADIR%%/acc.jgr %%DATADIR%%/ad.jgr %%DATADIR%%/alb.jgr |