Support stage

This commit is contained in:
Baptiste Daroussin 2014-04-25 23:03:46 +00:00
parent c92a57b22a
commit 353b7ee41a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352163
5 changed files with 18 additions and 21 deletions

View file

@ -9,7 +9,7 @@ PKGNAMESUFFIX= -gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME plug-in for libproxy
LIB_DEPENDS= proxy.1:${PORTSDIR}/net/libproxy
LIB_DEPENDS= libproxy.so:${PORTSDIR}/net/libproxy
MASTERDIR= ${.CURDIR}/../libproxy
DESCR= ${.CURDIR}/pkg-descr
@ -19,12 +19,11 @@ USES= pkgconfig
LIBPROXY_SLAVE= gnome
NO_STAGE= yes
do-install:
${MKDIR} ${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/modules/
${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/modules/
${INSTALL_LIB} ${WRKSRC}/libproxy/config_gnome.so \
${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/modules/
${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/modules/
${INSTALL_PROGRAM} ${WRKSRC}/libproxy/pxgconf \
${PREFIX}/libexec/
${STAGEDIR}${PREFIX}/libexec/
.include "${MASTERDIR}/Makefile"

View file

@ -9,7 +9,7 @@ PKGNAMESUFFIX= -kde
MAINTAINER= gnome@FreeBSD.org
COMMENT= KDE plug-in for libproxy
LIB_DEPENDS= proxy.1:${PORTSDIR}/net/libproxy
LIB_DEPENDS= libproxy.so:${PORTSDIR}/net/libproxy
MASTERDIR= ${.CURDIR}/../libproxy
DESCR= ${.CURDIR}/pkg-descr
@ -19,10 +19,9 @@ USE_KDE4= automoc4 kdelibs
LIBPROXY_SLAVE= kde
NO_STAGE= yes
do-install:
${MKDIR} ${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/modules/
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/modules/
${INSTALL_LIB} ${WRKSRC}/lib/config_kde4.so \
${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/modules/
${STAGEDIR}${PREFIX}/lib/${PORTNAME}/${PORTVERSION}/modules/
.include "${MASTERDIR}/Makefile"

View file

@ -9,7 +9,7 @@ PKGNAMESUFFIX= -perl
MAINTAINER= gnome@FreeBSD.org
COMMENT= Perl binding for libproxy
LIB_DEPENDS= proxy.1:${PORTSDIR}/net/libproxy
LIB_DEPENDS= libproxy.so:${PORTSDIR}/net/libproxy
MASTERDIR= ${.CURDIR}/../libproxy
DESCR= ${.CURDIR}/pkg-descr
@ -18,12 +18,11 @@ USES= perl5
LIBPROXY_SLAVE= perl
NO_STAGE= yes
do-install:
${MKDIR} ${SITE_PERL}/mach/auto/Net/Libproxy ${SITE_PERL}/mach/Net
${MKDIR} ${STAGEDIR}${SITE_PERL}/mach/auto/Net/Libproxy ${STAGEDIR}${SITE_PERL}/mach/Net
${INSTALL_LIB} ${WRKSRC}/perl/blib/arch/auto/Net/Libproxy.so \
${SITE_PERL}/mach/auto/Net/Libproxy/
${STAGEDIR}${SITE_PERL}/mach/auto/Net/Libproxy/
${INSTALL_DATA} ${WRKSRC}/perl/blib/lib/Libproxy.pm \
${SITE_PERL}/mach/Net/
${STAGEDIR}${SITE_PERL}/mach/Net/
.include "${MASTERDIR}/Makefile"

View file

@ -9,7 +9,7 @@ PKGNAMESUFFIX= -python
MAINTAINER= gnome@FreeBSD.org
COMMENT= python binding for libproxy
LIB_DEPENDS= proxy.1:${PORTSDIR}/net/libproxy
LIB_DEPENDS= libproxy.so:${PORTSDIR}/net/libproxy
MASTERDIR= ${.CURDIR}/../libproxy
DESCR= ${.CURDIR}/pkg-descr
@ -18,7 +18,6 @@ USE_PYTHON= yes
LIBPROXY_SLAVE= python
NO_STAGE= yes
do-build:
# empty
@ -29,9 +28,10 @@ post-build:
${WRKSRC}/bindings/python
do-install:
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
.for file in libproxy.py libproxy.pyc libproxy.pyo
${INSTALL_DATA} ${WRKSRC}/bindings/python/${file} \
${PYTHON_SITELIBDIR}
${STAGEDIR}${PYTHON_SITELIBDIR}
.endfor
.include "${MASTERDIR}/Makefile"

View file

@ -9,8 +9,8 @@ PKGNAMESUFFIX= -webkit
MAINTAINER= gnome@FreeBSD.org
COMMENT= WebKit JavaScript plug-in for libproxy
LIB_DEPENDS= proxy.1:${PORTSDIR}/net/libproxy \
webkitgtk-1.0.0:${PORTSDIR}/www/webkit-gtk2
LIB_DEPENDS= libproxy.so:${PORTSDIR}/net/libproxy \
libwebkitgtk-1.0.so:${PORTSDIR}/www/webkit-gtk2
MASTERDIR= ${.CURDIR}/../libproxy
DESCR= ${.CURDIR}/pkg-descr
@ -19,9 +19,9 @@ USES= pkgconfig
LIBPROXY_SLAVE= webkit
NO_STAGE= yes
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/libproxy/${PORTVERSION}/modules/
${INSTALL_LIB} ${WRKSRC}/libproxy/pacrunner_webkit.so \
${PREFIX}/lib/libproxy/${PORTVERSION}/modules/
${STAGEDIR}${PREFIX}/lib/libproxy/${PORTVERSION}/modules/
.include "${MASTERDIR}/Makefile"