View | Details | Raw Unified | Return to bug 47522
Collapse All | Expand All

(-)Makefile (-6 / +14 lines)
Lines 9-32 Link Here
9
PORTVERSION=	0.1.2
9
PORTVERSION=	0.1.2
10
CATEGORIES=	security
10
CATEGORIES=	security
11
MASTER_SITES=	http://gd.tuwien.ac.at/privacy/gnupg/alpha/gnutls/libtasn1/ \
11
MASTER_SITES=	http://gd.tuwien.ac.at/privacy/gnupg/alpha/gnutls/libtasn1/ \
12
	ftp://ftp.gnutls.org/pub/gnutls/libtasn1/ \
13
	ftp://ftp.gnupg.org/pub/gcrypt/alpha/gnutls/libtasn1/ \
14
	http://www.mirrors.wiretapped.net/security/network-security/gnutls/libtasn1/ \
12
	http://www.mirrors.wiretapped.net/security/network-security/gnutls/libtasn1/ \
15
	ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/libtasn1/
13
	ftp://ftp.gnupg.org/pub/gcrypt/alpha/gnutls/libtasn1/ \
14
	ftp://ftp.mirrors.wiretapped.net/security/network-security/gnutls/libtasn1/ \
15
	ftp://ftp.gnutls.org/pub/gnutls/libtasn1/
16
16
17
MAINTAINER=	sergei@kolobov.com
17
MAINTAINER=	sergei@kolobov.com
18
18
19
LIB_DEPENDS=	gnugetopt:${PORTSDIR}/devel/libgnugetopt
19
LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
20
20
21
USE_REINPLACE=	yes
21
USE_LIBTOOL=	yes
22
USE_LIBTOOL=	yes
22
INSTALLS_SHLIB=	yes
23
INSTALLS_SHLIB=	yes
23
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
24
CPPFLAGS+=	-I${LOCALBASE}/include
24
		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
25
LDFLAGS+=	-L${LOCALBASE}/lib -lgnugetopt
26
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
25
27
26
DOCS=		AUTHORS NEWS README THANKS
28
DOCS=		AUTHORS NEWS README THANKS
27
DOCS2=		asn1.ps asn1.tex fdl.tex
29
DOCS2=		asn1.ps asn1.tex fdl.tex
28
30
31
post-patch:
32
.for file in asn1Coding.c asn1Decoding.c asn1Parser.c
33
	${REINPLACE_CMD} -e 's/<malloc.h>/<stdlib.h>/' ${WRKSRC}/src/${file}
34
.endfor
35
29
post-install:
36
post-install:
37
	${RM} -f ${PREFIX}/lib/libtasn1.la
30
.if !defined(NOPORTDOCS)
38
.if !defined(NOPORTDOCS)
31
	@${MKDIR} ${DOCSDIR}
39
	@${MKDIR} ${DOCSDIR}
32
.for file in ${DOCS}
40
.for file in ${DOCS}
(-)pkg-plist (-1 lines)
Lines 1-7 Link Here
1
include/libtasn1.h
1
include/libtasn1.h
2
lib/libtasn1.so.0
2
lib/libtasn1.so.0
3
lib/libtasn1.so
3
lib/libtasn1.so
4
lib/libtasn1.la
5
lib/libtasn1.a
4
lib/libtasn1.a
6
%%PORTDOCS%%share/doc/libtasn1/AUTHORS
5
%%PORTDOCS%%share/doc/libtasn1/AUTHORS
7
%%PORTDOCS%%share/doc/libtasn1/NEWS
6
%%PORTDOCS%%share/doc/libtasn1/NEWS

Return to bug 47522