aboutsummaryrefslogtreecommitdiff
path: root/textproc/domc/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-24 08:01:07 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-24 08:01:07 +0000
commitbd6df865ae54be407b0debed4a64d9f650768ad4 (patch)
tree33f9b89ee5997aab41df0f2345e1e51799ff0ecb /textproc/domc/Makefile
parent41619882b2fe8406cfbb9fa365b33d7603830957 (diff)
downloadports-bd6df865ae54be407b0debed4a64d9f650768ad4.tar.gz
ports-bd6df865ae54be407b0debed4a64d9f650768ad4.zip
Notes
Diffstat (limited to 'textproc/domc/Makefile')
-rw-r--r--textproc/domc/Makefile22
1 files changed, 12 insertions, 10 deletions
diff --git a/textproc/domc/Makefile b/textproc/domc/Makefile
index 6a3d6141668d..f4c2bdf3cb72 100644
--- a/textproc/domc/Makefile
+++ b/textproc/domc/Makefile
@@ -7,25 +7,27 @@
#
PORTNAME= domc
-PORTVERSION= 0.5.8
+PORTVERSION= 0.6.0
CATEGORIES= textproc
-MASTER_SITES= http://auditorymodels.org/domc/src/
-EXTRACT_SUFX= .tgz
+MASTER_SITES= http://users.erols.com/mballen/domc/src/
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= expat.1:${PORTSDIR}/textproc/expat
+LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2 \
+ mba:${PORTSDIR}/devel/libmba
SHLIB_MAJOR= 0
-MAKE_ENV= SHLIB_MAJOR="${SHLIB_MAJOR}"
+USE_REINPLACE= yes
+CFLAGS= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+MAKE_ENV= SHLIB_MAJOR="${SHLIB_MAJOR}" INSTDIR=${PREFIX}
+ALL_TARGET= # empty
INSTALLS_SHLIB= yes
+
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
-post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/*.* ${DOCSDIR}
-.endif
+post-patch:
+ @${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
+ -e "s|gcc|${CC}|g" ${WRKSRC}/Makefile
.include <bsd.port.mk>