From 4f6f36cf037c6c8c236fe5206d3f4fba4c578f38 Mon Sep 17 00:00:00 2001 From: Diane Bruce Date: Mon, 30 Dec 2013 21:12:16 +0000 Subject: - Enable staging --- comms/geoid/Makefile | 15 +++++---------- comms/geoid/pkg-plist | 4 ++++ 2 files changed, 9 insertions(+), 10 deletions(-) create mode 100644 comms/geoid/pkg-plist (limited to 'comms') 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 # $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 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%% -- cgit