Lines 1-12
Link Here
|
1 |
# Created by: Olivier Duchateau |
1 |
# Created by: Olivier Duchateau |
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= libutf8proc |
4 |
PORTNAME= libutf8proc1 |
5 |
PORTVERSION= 1.3.1.3 |
5 |
PORTVERSION= 1.3.1.3 |
6 |
DISTVERSIONSUFFIX= -3-src |
6 |
DISTVERSIONSUFFIX= -3-src |
7 |
CATEGORIES= textproc |
7 |
CATEGORIES= textproc |
8 |
MASTER_SITES= http://download.netsurf-browser.org/libs/releases/ |
8 |
MASTER_SITES= http://download.netsurf-browser.org/libs/releases/ |
9 |
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.3$//}${DISTVERSIONSUFFIX} |
9 |
DISTNAME= ${PORTNAME:S/1$//}-${PORTVERSION:S/.3$//}${DISTVERSIONSUFFIX} |
10 |
|
10 |
|
11 |
MAINTAINER= neel@neelc.org |
11 |
MAINTAINER= neel@neelc.org |
12 |
COMMENT= UTF8 Processing library |
12 |
COMMENT= UTF8 Processing library |
Lines 21-29
Link Here
|
21 |
MAKE_ENV+= COMPONENT_TYPE="lib-shared" |
21 |
MAKE_ENV+= COMPONENT_TYPE="lib-shared" |
22 |
PLIST_SUB+= VERSION=${PORTVERSION:S/.3$//} |
22 |
PLIST_SUB+= VERSION=${PORTVERSION:S/.3$//} |
23 |
|
23 |
|
24 |
CONFLICTS= utf8proc-[0-9]* |
|
|
25 |
|
26 |
post-install: |
24 |
post-install: |
27 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libutf8proc.so* |
25 |
${REINPLACE_CMD} 's|libutf8proc|libutf8proc1|' ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libutf8proc.pc |
|
|
26 |
${MV} ${STAGEDIR}${PREFIX}/lib/libutf8proc.so.1.3.1-3 ${STAGEDIR}${PREFIX}/lib/libutf8proc_netsurf.so.1.3.1-3 |
27 |
${MV} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libutf8proc.pc ${STAGEDIR}/${PREFIX}/libdata/pkgconfig/libutf8proc1.pc |
28 |
|
28 |
|
|
|
29 |
${RM} ${STAGEDIR}${PREFIX}/lib/libutf8proc.so ${STAGEDIR}${PREFIX}/lib/libutf8proc.so.1 |
30 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libutf8proc_netsurf.so* |
31 |
|
29 |
.include <bsd.port.mk> |
32 |
.include <bsd.port.mk> |