blob: 078727db93a2954251270728301083fdc2b7c6fa (
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
|
# Created by: Aaron Dalton <aaron@FreeBSD.org>
# $FreeBSD$
PORTNAME= XML-WBXML
PORTVERSION= 0.08
CATEGORIES= converters perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Convert between XML and WBXML using libwbxml2
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
LIB_DEPENDS= libwbxml2.so:${PORTSDIR}/textproc/wbxml2
USES= perl5
USE_PERL5= configure
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/Makefile.PL
post-install:
${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/XML/WBXML/WBXML.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/XML/WBXML/WBXML.so
${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/XML/WBXML/WBXML.so
.include <bsd.port.mk>
|