diff options
author | db <db@FreeBSD.org> | 2013-12-31 05:12:16 +0800 |
---|---|---|
committer | db <db@FreeBSD.org> | 2013-12-31 05:12:16 +0800 |
commit | 35bbd5a049aed5f6cec3bfa72b32167dec240062 (patch) | |
tree | 1382ce4e8fdc204ef16df7873925ec5b87008f4a /comms/geoid | |
parent | 6a9562284a63ec2252a493808cdd14c371e381f5 (diff) | |
download | freebsd-ports-gnome-35bbd5a049aed5f6cec3bfa72b32167dec240062.tar.gz freebsd-ports-gnome-35bbd5a049aed5f6cec3bfa72b32167dec240062.tar.zst freebsd-ports-gnome-35bbd5a049aed5f6cec3bfa72b32167dec240062.zip |
- Enable staging
Diffstat (limited to 'comms/geoid')
-rw-r--r-- | comms/geoid/Makefile | 15 | ||||
-rw-r--r-- | comms/geoid/pkg-plist | 4 |
2 files changed, 9 insertions, 10 deletions
diff --git a/comms/geoid/Makefile b/comms/geoid/Makefile index 145e73bb3356..355a99dfefd5 100644 --- a/comms/geoid/Makefile +++ b/comms/geoid/Makefile @@ -1,4 +1,3 @@ -# Created by: Diane Bruce <db@db.net> # $FreeBSD$ PORTNAME= geoid @@ -20,18 +19,14 @@ LIB_DEPENDS= libfltk.so:${PORTSDIR}/x11-toolkits/fltk USE_GMAKE= yes MAKEFILE= makefile -PLIST_FILES= bin/geoid ${DATADIR_REL}/country.pos share/pixmaps/geoid.png -PLIST_DIRS= ${DATADIR_REL} - -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e \ - 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/geoid.cxx + 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/geoid.cxx do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/geoid ${PREFIX}/bin - @${INSTALL_DATA} ${WRKSRC}/geoid.png ${PREFIX}/share/pixmaps - @${MKDIR} ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/country.pos ${DATADIR} + @${INSTALL_PROGRAM} ${WRKSRC}/geoid ${STAGEDIR}${PREFIX}/bin + @${INSTALL_DATA} ${WRKSRC}/geoid.png ${STAGEDIR}${PREFIX}/share/pixmaps + @${MKDIR} ${STAGEDIR}${DATADIR} + @${INSTALL_DATA} ${WRKSRC}/country.pos ${STAGEDIR}${DATADIR} .include <bsd.port.mk> diff --git a/comms/geoid/pkg-plist b/comms/geoid/pkg-plist new file mode 100644 index 000000000000..6363eba22dd5 --- /dev/null +++ b/comms/geoid/pkg-plist @@ -0,0 +1,4 @@ +bin/geoid +share/pixmaps/geoid.png +%%DATADIR%%/country.pos +@dirrm %%DATADIR%% |