summaryrefslogtreecommitdiffstats
path: root/lang/vala/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-12-20 19:02:42 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-12-20 19:02:42 +0800
commit9e3581b15da1ca2f16eb75c34650d1dd9350922e (patch)
tree39733a7f2f2d9d829bace29bcd2122bf3389a7b7 /lang/vala/Makefile
parent83d97469cd2ab30c8ca40e9c622abaa3bfb26189 (diff)
downloadmarcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar.gz
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar.bz2
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar.lz
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar.xz
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.tar.zst
marcuscom-ports-9e3581b15da1ca2f16eb75c34650d1dd9350922e.zip
Stageify, and misc small cleanups.
Move net/libgweather3 -> net/libgweather. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18965 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'lang/vala/Makefile')
-rw-r--r--lang/vala/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/lang/vala/Makefile b/lang/vala/Makefile
index c8a107a82..2002ebe4f 100644
--- a/lang/vala/Makefile
+++ b/lang/vala/Makefile
@@ -1,5 +1,5 @@
# Created by: Michael Johnson <ahze@FreeBSD.org>
-# $FreeBSD: head/lang/vala/Makefile 313635 2013-03-08 11:32:11Z bapt $
+# $FreeBSD$
# $MCom$
PORTNAME= vala
@@ -12,7 +12,6 @@ COMMENT= Programming language and compiler that converts Vala code into C code
LICENSE= LGPL21
-NO_STAGE= yes
USES= bison gettext gmake pathfix pkgconfig
USE_XZ= yes
USE_GNOME= glib20 gnomeprefix libxslt
@@ -21,7 +20,6 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
-MAN1?= valac.1 valac-${VALA_VER}.1
VALA_VER= ${PORTVERSION:R}
PLIST_SUB= VERSION=${VALA_VER}
@@ -31,7 +29,6 @@ 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
-MAN1= vala-gen-introspect.1 vapigen.1
.else
CONFIGURE_ARGS+=--disable-vapigen
.endif
@@ -54,13 +51,14 @@ pre-build:
${GMAKE} gen-introspect
post-install:
- @cd ${WRKSRC}/gobject-introspection && ${GMAKE} install
+ @cd ${WRKSRC}/gobject-introspection && DESTDIR=${STAGEDIR} ${GMAKE} install
@${INSTALL_MAN} ${WRKSRC}/doc/vapigen.1 ${WRKSRC}/doc/vala-gen-introspect.1 \
- ${PREFIX}/man/man1/
+ ${STAGEDIR}${PREFIX}/man/man1/
.else
post-install:
${LN} -fs ${PREFIX}/libdata/pkgconfig/libvala-${VALA_VER}.pc \
- ${PREFIX}/libdata/pkgconfig/vala-1.0.pc
+ ${STAGEDIR}${PREFIX}/libdata/pkgconfig/vala-1.0.pc
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so.*
.endif
.include <bsd.port.mk>