diff options
-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%% |