diff options
author | pawel <pawel@FreeBSD.org> | 2014-04-28 03:07:52 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-04-28 03:07:52 +0800 |
commit | 26d69d5c46a0d4d143d0264d212e5a25a355f2c8 (patch) | |
tree | f5a13b9bf4fe94fcc87d57e4c340a4e1de37ebb3 /graphics | |
parent | ba20988352c68578ae03217412a5b5824deb93fe (diff) | |
download | freebsd-ports-gnome-26d69d5c46a0d4d143d0264d212e5a25a355f2c8.tar.gz freebsd-ports-gnome-26d69d5c46a0d4d143d0264d212e5a25a355f2c8.tar.zst freebsd-ports-gnome-26d69d5c46a0d4d143d0264d212e5a25a355f2c8.zip |
Add staging support
Diffstat (limited to 'graphics')
-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 |