aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2006-01-17 06:18:06 +0800
committerflz <flz@FreeBSD.org>2006-01-17 06:18:06 +0800
commit6578ea647c02aa1223194e14eb1f6f1205e62cdc (patch)
treed42b85e51aa0140568d827ead78e7f6fad3b875d /graphics
parentfb45d4075b5d3a5b4508f8c1d2b5793650f8c5f7 (diff)
downloadfreebsd-ports-gnome-6578ea647c02aa1223194e14eb1f6f1205e62cdc.tar.gz
freebsd-ports-gnome-6578ea647c02aa1223194e14eb1f6f1205e62cdc.tar.zst
freebsd-ports-gnome-6578ea647c02aa1223194e14eb1f6f1205e62cdc.zip
- INSTALLS_SHLIB was missing.
- Use USE_LDCONFIG while I'm here. Reported by: Soren Straarup <xride@x12.dk>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/graphviz/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
index 1efc1420167f..40c1761caccf 100644
--- a/graphics/graphviz/Makefile
+++ b/graphics/graphviz/Makefile
@@ -7,7 +7,7 @@
PORTNAME= graphviz
PORTVERSION= 2.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics tk84
MASTER_SITES= http://www.graphviz.org/pub/graphviz/ARCHIVE/
@@ -56,7 +56,12 @@ MLINKS= dot.1 circo.1 \
MYPORTDOCS= dotguide.pdf dottyguide.pdf leftyguide.pdf \
neatoguide.pdf Dot.ref FAQ.html
+INSTALLS_SHLIB= yes
+LDCONFIG_DIRS= %%PREFIX%%/lib/${PORTNAME}
+USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
+
.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/misc/ldconfig_compat/bsd.ldconfig.mk"
.if ${OSVERSION} < 500000
USE_GCC= 3.4+
@@ -65,7 +70,7 @@ USE_GCC= 3.4+
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|'
-post-install:
+post-install: install-ldconfig-file
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${MYPORTDOCS}