summaryrefslogtreecommitdiff
path: root/comms/geoid
diff options
context:
space:
mode:
authorDiane Bruce <db@FreeBSD.org>2013-12-30 21:12:16 +0000
committerDiane Bruce <db@FreeBSD.org>2013-12-30 21:12:16 +0000
commit4f6f36cf037c6c8c236fe5206d3f4fba4c578f38 (patch)
tree1382ce4e8fdc204ef16df7873925ec5b87008f4a /comms/geoid
parentUpdate to 3.8.8. (diff)
- Enable staging
Notes
Notes: svn path=/head/; revision=338171
Diffstat (limited to 'comms/geoid')
-rw-r--r--comms/geoid/Makefile15
-rw-r--r--comms/geoid/pkg-plist4
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%%