aboutsummaryrefslogtreecommitdiff
path: root/textproc/domc/Makefile
diff options
context:
space:
mode:
authorSimon Barner <barner@FreeBSD.org>2005-03-08 16:30:39 +0000
committerSimon Barner <barner@FreeBSD.org>2005-03-08 16:30:39 +0000
commitc74b0699940cbaf8c2165df5841fbcde70396681 (patch)
treec3e992127faaf449b6c300cfd6c8fb78c28d9905 /textproc/domc/Makefile
parent72802caf38da73c3c99a37c0b7f586a0ba742128 (diff)
downloadports-c74b0699940cbaf8c2165df5841fbcde70396681.tar.gz
ports-c74b0699940cbaf8c2165df5841fbcde70396681.zip
Notes
Diffstat (limited to 'textproc/domc/Makefile')
-rw-r--r--textproc/domc/Makefile26
1 files changed, 12 insertions, 14 deletions
diff --git a/textproc/domc/Makefile b/textproc/domc/Makefile
index 9d38e9884c77..d395c43abf32 100644
--- a/textproc/domc/Makefile
+++ b/textproc/domc/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= domc
-PORTVERSION= 0.6.0
-PORTREVISION= 1
+PORTVERSION= 0.8.0
CATEGORIES= textproc
MASTER_SITES= http://www.ioplex.com/~miallen/domc/dl/
@@ -16,22 +15,21 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A light weight implementation of the DOM in ANSI C
LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 \
- mba:${PORTSDIR}/devel/libmba
+ mba.1:${PORTSDIR}/devel/libmba
+
+MAN3= DOM_CharacterData.3m DOM_Document.3m DOM_Element.3m \
+ DOM_Implementation.3m DOM_NamedNodeMap.3m DOM_Node.3m \
+ DOM_NodeList.3m DOM_Text.3m
+MANCOMPRESSED= yes
SHLIB_MAJOR= 0
-USE_REINPLACE= yes
-CFLAGS= -I${LOCALBASE}/include -L${LOCALBASE}/lib
-MAKE_ENV= SHLIB_MAJOR="${SHLIB_MAJOR}" INSTDIR=${PREFIX}
-ALL_TARGET= # empty
+USE_GMAKE= yes
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
+MAKE_ENV+= SHLIB_MAJOR="${SHLIB_MAJOR}" INSTDIR=${PREFIX} LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
-.include <bsd.port.pre.mk>
-
-post-patch:
- @${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
- -e "s|gcc|${CC}|g" ${WRKSRC}/Makefile
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>