aboutsummaryrefslogtreecommitdiffstats
path: root/comms/geoid/Makefile
diff options
context:
space:
mode:
authordb <db@FreeBSD.org>2013-12-31 05:12:16 +0800
committerdb <db@FreeBSD.org>2013-12-31 05:12:16 +0800
commit35bbd5a049aed5f6cec3bfa72b32167dec240062 (patch)
tree1382ce4e8fdc204ef16df7873925ec5b87008f4a /comms/geoid/Makefile
parent6a9562284a63ec2252a493808cdd14c371e381f5 (diff)
downloadfreebsd-ports-gnome-35bbd5a049aed5f6cec3bfa72b32167dec240062.tar.gz
freebsd-ports-gnome-35bbd5a049aed5f6cec3bfa72b32167dec240062.tar.zst
freebsd-ports-gnome-35bbd5a049aed5f6cec3bfa72b32167dec240062.zip
- Enable staging
Diffstat (limited to 'comms/geoid/Makefile')
-rw-r--r--comms/geoid/Makefile15
1 files changed, 5 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>