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

(-)lang/duktape-lib/Makefile (-2 / +9 lines)
Lines 12-18 Link Here
12
LICENSE=	MIT
12
LICENSE=	MIT
13
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
13
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
14
14
15
USES=		gmake tar:xz
15
USES=		gmake tar:xz pkgconfig
16
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
17
17
18
MAKEFILE=	Makefile.sharedlibrary
18
MAKEFILE=	Makefile.sharedlibrary
Lines 24-31 Link Here
24
		include/duktape.h \
24
		include/duktape.h \
25
		lib/libduktape.so \
25
		lib/libduktape.so \
26
		lib/libduktape.so.${MAJOR} \
26
		lib/libduktape.so.${MAJOR} \
27
		lib/libduktape.so.${MAJOR}.${MINOR}
27
		lib/libduktape.so.${MAJOR}.${MINOR} \
28
		libdata/pkgconfig/duktape.pc
28
29
30
SUB_FILES=	duktape.pc
31
SUB_LIST+=	PORTVERSION=${DISTVERSION}
32
SUB_LIST+=	DESCRIPTION="${COMMENT}"
33
SUB_LIST+=	URL="${MASTER_SITES}"
34
29
do-install:
35
do-install:
30
	${INSTALL_DATA} ${WRKSRC}/src/duktape.h ${STAGEDIR}${PREFIX}/include
36
	${INSTALL_DATA} ${WRKSRC}/src/duktape.h ${STAGEDIR}${PREFIX}/include
31
	${INSTALL_DATA} ${WRKSRC}/src/duk_config.h ${STAGEDIR}${PREFIX}/include
37
	${INSTALL_DATA} ${WRKSRC}/src/duk_config.h ${STAGEDIR}${PREFIX}/include
Lines 32-36 Link Here
32
	${INSTALL_LIB} ${WRKSRC}/libduktape.so.${MAJOR}.${MINOR} ${STAGEDIR}${PREFIX}/lib
38
	${INSTALL_LIB} ${WRKSRC}/libduktape.so.${MAJOR}.${MINOR} ${STAGEDIR}${PREFIX}/lib
33
	${RLN} ${STAGEDIR}${PREFIX}/lib/libduktape.so.${MAJOR}.${MINOR} ${STAGEDIR}${PREFIX}/lib/libduktape.so
39
	${RLN} ${STAGEDIR}${PREFIX}/lib/libduktape.so.${MAJOR}.${MINOR} ${STAGEDIR}${PREFIX}/lib/libduktape.so
34
	${RLN} ${STAGEDIR}${PREFIX}/lib/libduktape.so.${MAJOR}.${MINOR} ${STAGEDIR}${PREFIX}/lib/libduktape.so.${MAJOR}
40
	${RLN} ${STAGEDIR}${PREFIX}/lib/libduktape.so.${MAJOR}.${MINOR} ${STAGEDIR}${PREFIX}/lib/libduktape.so.${MAJOR}
41
	${INSTALL_DATA} ${WRKDIR}/duktape.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig
35
42
36
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)lang/duktape-lib/files/duktape.pc.in (+11 lines)
Line 0 Link Here
1
prefix=%%PREFIX%%
2
exec_prefix=%%PREFIX%%
3
libdir=%%PREFIX%%/lib
4
includedir=%%PREFIX%%/include
5
6
Name: duktape
7
Description: %%DESCRIPTION%%
8
URL: %%URL%%
9
Version: %%PORTVERSION%%
10
Libs: -L${libdir} -lduktape
11
Cflags: -I${includedir}

Return to bug 254274