summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-10-17 20:35:17 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-10-17 20:35:17 +0800
commitd7ef1525de0948bb5ac9b4220217c28b2abc7153 (patch)
tree1bc943fe226e9251c2641a85f7f281bf98458809 /lang
parent7103f7a885b86c0d9b1c2e2c14e82cf613823a45 (diff)
downloadmarcuscom-ports-d7ef1525de0948bb5ac9b4220217c28b2abc7153.tar
marcuscom-ports-d7ef1525de0948bb5ac9b4220217c28b2abc7153.tar.gz
marcuscom-ports-d7ef1525de0948bb5ac9b4220217c28b2abc7153.tar.bz2
marcuscom-ports-d7ef1525de0948bb5ac9b4220217c28b2abc7153.tar.lz
marcuscom-ports-d7ef1525de0948bb5ac9b4220217c28b2abc7153.tar.xz
marcuscom-ports-d7ef1525de0948bb5ac9b4220217c28b2abc7153.tar.zst
marcuscom-ports-d7ef1525de0948bb5ac9b4220217c28b2abc7153.zip
Remove obsolete code which was used by vala-vapigen.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@19985 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'lang')
-rw-r--r--lang/vala/Makefile43
1 files changed, 0 insertions, 43 deletions
diff --git a/lang/vala/Makefile b/lang/vala/Makefile
index 5e3607eab..5d335dcd7 100644
--- a/lang/vala/Makefile
+++ b/lang/vala/Makefile
@@ -24,51 +24,8 @@ VALA_VER= ${PORTVERSION:R}
PLIST_SUB= VERSION=${VALA_VER}
-.if defined(VALA_SLAVE)
-LIB_DEPENDS+= libvala-${VALA_VER}.so:${PORTSDIR}/lang/vala
-CONFIGURE_ARGS+=--enable-vapigen
-BUILD_DEPENDS+= p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML
-RUN_DEPENDS+= p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML
-.else
-CONFIGURE_ARGS+=--disable-vapigen
-
-PLIST_SUB= VERSION=${VALA_VER}
-.endif
-
-.if defined(VALA_SLAVE)
-LIB_DEPENDS+= libvala-${VALA_VER}.so:${PORTSDIR}/lang/vala
-CONFIGURE_ARGS+=--enable-vapigen
-BUILD_DEPENDS+= p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML
-RUN_DEPENDS+= p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML
-.else
-CONFIGURE_ARGS+=--disable-vapigen
-.endif
-
-post-patch:
-# We cheat here, because vala records vapigen related stuff in its .pc file
-# This makes vapigen work again, although it might get weird when
-# vala-vapigen isn't installed.
- @${REINPLACE_CMD} -e 's|@vapigen_decl@|vapigen=$${bindir}/vapigen-${VALA_VER}|g' \
- -e 's|@gen_introspect_decl@|gen_introspect=$${libdir}/vala-${VALA_VER}/gen-introspect-${VALA_VER}|g' \
- -e 's|@vala_gen_introspect_decl@|vala_gen_introspect=$${bindir}/vala-gen-introspect-${VALA_VER}|g' \
- ${WRKSRC}/libvala.pc.in
-# @${REINPLACE_CMD} -e 's|cp $$< $$@|cp libvala.pc libvala-${VALA_VER}.pc|g' \
-# ${WRKSRC}/Makefile.in
-
-.if defined(VALA_SLAVE)
-pre-build:
- @cd ${WRKSRC} && ${GMAKE} version.h
- @cd ${WRKSRC}/gobject-introspection && ${GMAKE} libgidl.la && \
- ${GMAKE} gen-introspect
-
-post-install:
- @cd ${WRKSRC}/gobject-introspection && DESTDIR=${STAGEDIR} ${GMAKE} install
- @${INSTALL_MAN} ${WRKSRC}/doc/vapigen.1 ${WRKSRC}/doc/vala-gen-introspect.1 \
- ${STAGEDIR}${PREFIX}/man/man1/
-.else
post-install:
${LN} -fs ${PREFIX}/libdata/pkgconfig/libvala-${VALA_VER}.pc \
${STAGEDIR}${PREFIX}/libdata/pkgconfig/vala-1.0.pc
-.endif
.include <bsd.port.mk>