1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/textproc/sablotron/Makefile
Will Andrews 111607820e Add sablotron 0.44, an XSL processor fully implemented in C++.
PR:		22804
Submitted by:	Sergey Skvortsov <skv@protey.ru>
2000-12-19 13:14:44 +00:00

45 lines
981 B
Makefile

# New ports collection makefile for: sablotron
# Date created: 13 Nov 2000
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= Sablot
PORTVERSION= 0.44
CATEGORIES= textproc
MASTER_SITES= http://download.gingerall.cz/sablot/
PATCH_SITES= http://www.gingerall.com/download/
PATCHFILES= Sablot-0.44.1.patch
PATCH_DIST_STRIP= -p1
MAINTAINER= skv@protey.ru
LIB_DEPENDS= iconv.1:${PORTSDIR}/converters/iconv \
expat.2:${PORTSDIR}/textproc/expat2
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib
USE_GMAKE= yes
USE_AUTOCONF= yes
USE_LIBTOOL= yes
post-patch:
.for f in configure.in
@${PERL} -pi -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/${f}
.endfor
.if defined(WITH_RUSSIAN)
@${ECHO_MSG} "Patching for russian support..."
@cd ${WRKDIR} ; \
if ${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/rus-patch ; then \
${ECHO_MSG} ">> Patch applied cleanly." ; \
else \
${ECHO_MSG} ">> Patch failed to apply cleanly." ; \
${FALSE} ; \
fi
.endif
.include <bsd.port.mk>