blob: 16b3908a4f219ce24dc896c281f932a4ef5b9525 (
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
|
# New ports collection makefile for: sablotron
# Date created: 13 Nov 2000
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= Sablot
PORTVERSION= 0.81
CATEGORIES= textproc
MASTER_SITES= http://download-2.gingerall.cz/download/sablot/
MAINTAINER= skv@FreeBSD.org
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \
expat.2:${PORTSDIR}/textproc/expat2
INSTALLS_SHLIB= yes
SHLIB_MAJOR= 67
PLIST_SUB+= SHLIB_MAJOR="${SHLIB_MAJOR}"
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib \
LIBTOOL=${LIBTOOL}
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_AUTOMAKE_VER=14
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>
|