blob: ec7fbea358ca08d05fa4693ffef7961f7ad66171 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# 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.2:${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>
|