diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-12-03 04:23:23 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-12-03 04:23:23 +0000 |
commit | e564519a7e6aa6c354c229c1d07a4d7b114480dd (patch) | |
tree | 46ca72a141a798b95de6b87f0b7270a27f27c72e /astro/tkgeomap | |
parent | d338c0fc3913022873dcc2978616d24a8b661477 (diff) | |
download | ports-e564519a7e6aa6c354c229c1d07a4d7b114480dd.tar.gz ports-e564519a7e6aa6c354c229c1d07a4d7b114480dd.zip |
Notes
Diffstat (limited to 'astro/tkgeomap')
-rw-r--r-- | astro/tkgeomap/Makefile | 11 | ||||
-rw-r--r-- | astro/tkgeomap/pkg-plist | 4 |
2 files changed, 9 insertions, 6 deletions
diff --git a/astro/tkgeomap/Makefile b/astro/tkgeomap/Makefile index d378dd23c6dd..32e0c1a7cc50 100644 --- a/astro/tkgeomap/Makefile +++ b/astro/tkgeomap/Makefile @@ -16,12 +16,13 @@ COMMENT= Read, manipulate and display geo data LIB_DEPENDS= tclgeomap.0:${PORTSDIR}/astro/tclgeomap \ tk${USE_TK}.1:${PORTSDIR}/x11-toolkits/tk${USE_TK} -CONFIGURE_ARGS= --with-tclgeomap-include=${LOCALBASE}/include/tclgeomap --with-x +CONFIGURE_ARGS= --with-tclgeomap-include=${LOCALBASE}/include/tclgeomap --with-x \ + --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include USE_TK= yes GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/${DISTNAME}/unix PLIST_SUB= INC=include/${PORTNAME} \ - LIB=lib/${PORTNAME} + LIB=lib/${PORTNAME} VER=${PORTVERSION} MAKE_ENV= MKLINKS_FLAGS=-s USE_LDCONFIG= yes @@ -31,8 +32,10 @@ MLINKS= \ wdgeomap.n xytolatlon.n post-install: - @${LN} -sf ${PREFIX}/lib/libtkgeomap2.9.so ${PREFIX}/lib/libtkgeomap2.9.so.0 - @${LN} -sf ${PREFIX}/lib/libtkgeomap2.9.so ${PREFIX}/lib/libtkgeomap.so.0 + @${LN} -sf ${PREFIX}/lib/lib${PORTNAME}${PORTVERSION}.so \ + ${PREFIX}/lib/lib${PORTNAME}${PORTVERSION}.so.0 + @${LN} -sf ${PREFIX}/lib/lib${PORTNAME}${PORTVERSION}.so \ + ${PREFIX}/lib/lib${PORTNAME}.so.0 post-patch: @${REINPLACE_CMD} -e 's/@PACKAGE@@VERSION@/@PACKAGE@/g' ${WRKSRC}/Makefile.in ${WRKSRC}/pkgIndex.tcl.in diff --git a/astro/tkgeomap/pkg-plist b/astro/tkgeomap/pkg-plist index 70ed6d549256..0421ee758580 100644 --- a/astro/tkgeomap/pkg-plist +++ b/astro/tkgeomap/pkg-plist @@ -1,6 +1,6 @@ lib/libtkgeomap.so.0 -lib/libtkgeomap2.9.so -lib/libtkgeomap2.9.so.0 +lib/libtkgeomap%%VER%%.so +lib/libtkgeomap%%VER%%.so.0 %%INC%%/tkgeomap.h %%LIB%%/pkgIndex.tcl %%LIB%%/tkgeomap_procs.tcl |