blob: 909bb6edf0def5be87b66ad99616624710273e2c (
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
|
# New ports collection makefile for: sablotron
# Date created: 13 Nov 2000
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= Sablot
PORTVERSION= 0.71
CATEGORIES= textproc
MASTER_SITES= http://download-2.gingerall.cz/download/sablot/
MAINTAINER= skv@protey.ru
LIB_DEPENDS= iconv.2:${PORTSDIR}/converters/iconv \
expat.2:${PORTSDIR}/textproc/expat2
INSTALLS_SHLIB= yes
SHLIB_MAJOR= 66
PLIST_SUB+= SHLIB_MAJOR="${SHLIB_MAJOR}"
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
USE_GMAKE= yes
USE_AUTOMAKE= yes
AUTOMAKE_ARGS= -a
USE_LIBTOOL= yes
pre-patch:
@${PERL} -pi -e \
's!(?<=libsablot_la_LDFLAGS = -version-info )(\d+):(\d+):\1!${SHLIB_MAJOR}:$$1:${SHLIB_MAJOR}!;' \
${WRKSRC}/src/engine/Makefile.am
.include <bsd.port.mk>
|