diff options
author | Ade Lovett <ade@FreeBSD.org> | 2006-02-23 10:40:44 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2006-02-23 10:40:44 +0000 |
commit | 8503536d3896846d823f7f76be54e0a99da8d8b6 (patch) | |
tree | 1a89e4038216ead71b008f2a5091474964e1c341 /devel/shapelib/Makefile | |
parent | c20d04e3929dbe1763fc1dfaaa677c2353cd7883 (diff) | |
download | ports-8503536d3896846d823f7f76be54e0a99da8d8b6.tar.gz ports-8503536d3896846d823f7f76be54e0a99da8d8b6.zip |
Notes
Diffstat (limited to 'devel/shapelib/Makefile')
-rw-r--r-- | devel/shapelib/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/devel/shapelib/Makefile b/devel/shapelib/Makefile index ee2aadc95171..4fc6111eff5b 100644 --- a/devel/shapelib/Makefile +++ b/devel/shapelib/Makefile @@ -7,6 +7,7 @@ PORTNAME= shapelib PORTVERSION= 1.2.10 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://dl.maptools.org/dl/shapelib/ @@ -16,15 +17,14 @@ COMMENT= C API for reading and writing ArcView Shapefiles USE_AUTOTOOLS= libtool:15:env ALL_TARGET= lib INSTALLS_SHLIB= yes +USE_REINPLACE= yes +INSTALL_TARGET= lib_install -do-configure: - @${CP} ${LIBTOOL} ${WRKSRC} - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/.libs/libshp.so.1 ${PREFIX}/lib - ${LN} -sf libshp.so.1 ${PREFIX}/lib/libshp.so - ${INSTALL_DATA} ${WRKSRC}/.libs/libshp.a ${PREFIX}/lib/ - ${INSTALL_DATA} ${WRKSRC}/shapefil.h ${PREFIX}/include +post-patch: + @${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' \ + -e 's#%%LIBTOOL%%#${LIBTOOL}#g' \ + -e 's#%%INSTALL%%#${INSTALL}#g' ${WRKSRC}/Makefile +post-install: ${MKDIR} ${PREFIX}/share/doc/shapelib ${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/shapelib |