diff options
author | gahr <gahr@FreeBSD.org> | 2014-02-05 22:23:15 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2014-02-05 22:23:15 +0800 |
commit | 952c31707882fb16a372e8b2bad0a6138c52a7bf (patch) | |
tree | 17f36368613ba9ba60457f3f8116b63af5498d5b /astro/tclgeomap | |
parent | 1e5c30fd9596580b843e72ca6d007daef0c005ad (diff) | |
download | freebsd-ports-gnome-952c31707882fb16a372e8b2bad0a6138c52a7bf.tar.gz freebsd-ports-gnome-952c31707882fb16a372e8b2bad0a6138c52a7bf.tar.zst freebsd-ports-gnome-952c31707882fb16a372e8b2bad0a6138c52a7bf.zip |
- STAGE-clean
- Add LICENSE
Diffstat (limited to 'astro/tclgeomap')
-rw-r--r-- | astro/tclgeomap/Makefile | 26 | ||||
-rw-r--r-- | astro/tclgeomap/pkg-plist | 31 |
2 files changed, 37 insertions, 20 deletions
diff --git a/astro/tclgeomap/Makefile b/astro/tclgeomap/Makefile index c9e0bae3ee66..883ca82f66c0 100644 --- a/astro/tclgeomap/Makefile +++ b/astro/tclgeomap/Makefile @@ -9,20 +9,15 @@ MASTER_SITES= SF/tkgeomap/${PORTNAME}/${PORTVERSION} MAINTAINER= tcltk@FreeBSD.org COMMENT= Read, manipulate, and display geo data -NO_STAGE= yes +LICENSE= GPLv2 + USES+= tcl GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} --with-tclinclude=${TCL_INCLUDEDIR} +CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \ + --with-tclinclude=${TCL_INCLUDEDIR} WRKSRC= ${WRKDIR}/${DISTNAME}/unix -TKPKG= ${PORTNAME} -PLIST_SUB= INC=include/${TKPKG} LIB=lib/${TKPKG} USE_LDCONFIG= yes - -MAN3= geoLn.3 geoLnArr.3 geoLnArrToMap.3 geoProj.3 geography.3 mapLn.3 mapLnArr.3 tclgeomap.3 -MANN= tclgeomap.n tclgeomap_procs.n - -post-install: - @${LN} -sf ${PREFIX}/lib/lib${TKPKG}.so ${PREFIX}/lib/lib${PORTNAME}.so.0 +STRIP_FILES= lib/libtclgeomap.so post-patch: @${REINPLACE_CMD} -e '/=.*PACKAGE_VERSION/s|$${PACKAGE_VERSION}||g' ${WRKSRC}/configure @@ -30,4 +25,15 @@ post-patch: @${REINPLACE_CMD} -e '/^package/!s|@PACKAGE_VERSION@||g' ${WRKSRC}/pkgIndex.tcl.in @${REINPLACE_CMD} -e '2s|.*|exit 0|' ${WRKSRC}/mkLinks +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/include/tclgeomap + ${FIND} ${WRKSRC}/.. -name "*.h" -exec ${INSTALL_DATA} {} ${STAGEDIR}${PREFIX}/include/tclgeomap \; + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/tclgeomap + ${INSTALL_DATA} ${WRKSRC}/../library/tclgeomap_procs.tcl ${STAGEDIR}${PREFIX}/lib/tclgeomap + ${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${STAGEDIR}${PREFIX}/lib/tclgeomap + ${INSTALL_DATA} ${WRKSRC}/libtclgeomap.so ${STAGEDIR}${PREFIX}/lib/libtclgeomap.so.0 + ${LN} -sf libtclgeomap.so.0 ${STAGEDIR}${PREFIX}/lib/libtclgeomap.so + ${FIND} ${WRKSRC}/../doc -name "*.3" -exec ${INSTALL_DATA} {} ${STAGEDIR}${PREFIX}/man/man3 \; + ${FIND} ${WRKSRC}/../doc -name "*.n" -exec ${INSTALL_DATA} {} ${STAGEDIR}${PREFIX}/man/mann \; + .include <bsd.port.mk> diff --git a/astro/tclgeomap/pkg-plist b/astro/tclgeomap/pkg-plist index cee334fba9df..b66069824c83 100644 --- a/astro/tclgeomap/pkg-plist +++ b/astro/tclgeomap/pkg-plist @@ -1,12 +1,23 @@ lib/libtclgeomap.so lib/libtclgeomap.so.0 -%%INC%%/geoLines.h -%%INC%%/geoLnArrToMap.h -%%INC%%/geoProj.h -%%INC%%/geography.h -%%INC%%/mapLines.h -%%INC%%/tclgeomap.h -%%LIB%%/pkgIndex.tcl -%%LIB%%/tclgeomap_procs.tcl -@dirrm %%INC%% -@dirrm %%LIB%% +man/man3/geoLn.3.gz +man/man3/geoLnArr.3.gz +man/man3/geoLnArrToMap.3.gz +man/man3/geoProj.3.gz +man/man3/geography.3.gz +man/man3/mapLn.3.gz +man/man3/mapLnArr.3.gz +man/man3/tclgeomap.3.gz +man/mann/tclgeomap.n.gz +man/mann/tclgeomap_procs.n.gz +include/tclgeomap/geoLines.h +include/tclgeomap/geoLnArrToMap.h +include/tclgeomap/geoProj.h +include/tclgeomap/geography.h +include/tclgeomap/mapLines.h +include/tclgeomap/tclgeomap.h +include/tclgeomap/tclgeomapInt.h +lib/tclgeomap/pkgIndex.tcl +lib/tclgeomap/tclgeomap_procs.tcl +@dirrm include/tclgeomap +@dirrm lib/tclgeomap |