blob: 0a755663caf611eb0af4ad05994a49764834ba5f (
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.09
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>
|