aboutsummaryrefslogtreecommitdiffstats
path: root/devel/domc/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-11-24 01:36:44 +0800
committerijliao <ijliao@FreeBSD.org>2001-11-24 01:36:44 +0800
commit2fc76eaecdc96698982947f8158d9eff3604a684 (patch)
tree5fa730a6e1c1bc2bf6f481aafd90e542f290e60c /devel/domc/Makefile
parent1509fd6bd46eca0510ee4ca8511e38b050028e77 (diff)
downloadfreebsd-ports-gnome-2fc76eaecdc96698982947f8158d9eff3604a684.tar.gz
freebsd-ports-gnome-2fc76eaecdc96698982947f8158d9eff3604a684.tar.zst
freebsd-ports-gnome-2fc76eaecdc96698982947f8158d9eff3604a684.zip
upgrade to 0.5.1
PR: 32215 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'devel/domc/Makefile')
-rw-r--r--devel/domc/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/devel/domc/Makefile b/devel/domc/Makefile
index 09759de64675..93c7584ea3d9 100644
--- a/devel/domc/Makefile
+++ b/devel/domc/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= domc
-PORTVERSION= 0.5.0
+PORTVERSION= 0.5.1
CATEGORIES= devel
MASTER_SITES= http://auditorymodels.org/domc/src/
EXTRACT_SUFX= .tgz
@@ -16,19 +16,20 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= expat.1:${PORTSDIR}/textproc/expat
-CFLAGS+= -I${LOCALBASE}/include/xml
SHLIB_MAJOR= 0
+
+MAKE_ENV= SHLIB_MAJOR="${SHLIB_MAJOR}"
INSTALLS_SHLIB= yes
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
-post-patch:
- @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g ; \
- s,%%CFLAGS%%,${CFLAGS},g" ${WRKSRC}/Makefile
-
do-install:
${INSTALL_DATA} ${WRKSRC}/include/dom.h ${PREFIX}/include
${CAT} ${WRKSRC}/include/stack.h >> ${PREFIX}/include/dom.h
- ${INSTALL_DATA} ${WRKSRC}/libdomc.so.0.5.0 ${PREFIX}/lib/libdomc.so.${SHLIB_MAJOR}
- ${LN} -sf ${PREFIX}/lib/libdomc.so.${SHLIB_MAJOR} ${PREFIX}/lib/libdomc.so
+ ${INSTALL_DATA} ${WRKSRC}/libdomc.so.${SHLIB_MAJOR} ${PREFIX}/lib
+ ${LN} -sf libdomc.so.${SHLIB_MAJOR} ${PREFIX}/lib/libdomc.so
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/*.* ${DOCSDIR}
+.endif
.include <bsd.port.mk>