aboutsummaryrefslogtreecommitdiff
path: root/deskutils/semantik
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2013-11-13 10:26:59 +0000
committerAlberto Villa <avilla@FreeBSD.org>2013-11-13 10:26:59 +0000
commit8d404a0e0cbeab57e6cdef0500bf04ee73bc42ae (patch)
tree070e072f59c3aeab8122b322182ede489c5352dd /deskutils/semantik
parentf451bf37d7e103f58ef22ca50b3c1da05c7b19d3 (diff)
downloadports-8d404a0e0cbeab57e6cdef0500bf04ee73bc42ae.tar.gz
ports-8d404a0e0cbeab57e6cdef0500bf04ee73bc42ae.zip
- Update to 0.8.4.
- STAGEify. - Use OPTIONS helpers.
Notes
Notes: svn path=/head/; revision=333666
Diffstat (limited to 'deskutils/semantik')
-rw-r--r--deskutils/semantik/Makefile23
-rw-r--r--deskutils/semantik/distinfo4
-rw-r--r--deskutils/semantik/pkg-plist15
3 files changed, 15 insertions, 27 deletions
diff --git a/deskutils/semantik/Makefile b/deskutils/semantik/Makefile
index 5af9e95dce73..eeb2c1bf9d3a 100644
--- a/deskutils/semantik/Makefile
+++ b/deskutils/semantik/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= semantik
-PORTVERSION= 0.8.3
+PORTVERSION= 0.8.4
CATEGORIES= deskutils kde
MASTER_SITES= http://${PORTNAME}.googlecode.com/files/
@@ -16,23 +16,26 @@ NO_OCAML_RUNDEPENDS= yes
USE_PYTHON= 2.5+
USE_QT4= corelib gui linguist_build svg webkit xml \
moc_build qmake_build uic_build
+USES= pkgconfig shebangfix
USE_BZIP2= yes
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS}" \
PATH="${KDE4_PREFIX}/bin:$$PATH" \
WAF_HOME="${WRKSRC}"
CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS+= -I${LOCALBASE}/include
+MAKE_ENV= DESTDIR="${STAGEDIR}"
USE_LDCONFIG= yes
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+SHEBANG_FILES= ${WRKSRC}/src/templates/beamer/wscript \
+ ${WRKSRC}/src/templates/pdflatex/wscript
+python_CMD= ${PYTHON_CMD}
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-PLIST_SUB+= NLS=""
-.else
-PLIST_SUB+= NLS="@comment "
-.endif
+OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
+
+NLS_USES= gettext
+
+.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's/kde-config/kde4-config/g' \
@@ -53,6 +56,6 @@ do-build:
do-install:
@cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ./waf install
- @${STRIP_CMD} ${PREFIX}/bin/${PORTNAME}
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>
diff --git a/deskutils/semantik/distinfo b/deskutils/semantik/distinfo
index b59f01da1206..f094b4cde328 100644
--- a/deskutils/semantik/distinfo
+++ b/deskutils/semantik/distinfo
@@ -1,2 +1,2 @@
-SHA256 (semantik-0.8.3.tar.bz2) = 202227e42e403a80ee0a3885cda728620fe69cbac735af27d21eb7e511c092a0
-SIZE (semantik-0.8.3.tar.bz2) = 395936
+SHA256 (semantik-0.8.4.tar.bz2) = 21a1c28bc68dc90be3a3464b1e18d0a70dc72c41bccca5f5dbfdc8d6a9c1a558
+SIZE (semantik-0.8.4.tar.bz2) = 389338
diff --git a/deskutils/semantik/pkg-plist b/deskutils/semantik/pkg-plist
index 7e9a72fa4abf..218494eeb272 100644
--- a/deskutils/semantik/pkg-plist
+++ b/deskutils/semantik/pkg-plist
@@ -172,21 +172,6 @@ share/icons/hicolor/22x22/apps/semantik.png
share/icons/hicolor/32x32/apps/semantik.png
share/icons/hicolor/48x48/apps/semantik.png
share/icons/hicolor/64x64/apps/semantik.png
-share/icons/oxygen/128x128/actions/semantik_sort.png
-share/icons/oxygen/16x16/actions/semantik_link.png
-share/icons/oxygen/16x16/actions/semantik_move.png
-share/icons/oxygen/16x16/actions/semantik_point.png
-share/icons/oxygen/16x16/actions/semantik_sort.png
-share/icons/oxygen/22x22/actions/semantik_link.png
-share/icons/oxygen/22x22/actions/semantik_move.png
-share/icons/oxygen/22x22/actions/semantik_point.png
-share/icons/oxygen/22x22/actions/semantik_sort.png
-share/icons/oxygen/32x32/actions/semantik_link.png
-share/icons/oxygen/32x32/actions/semantik_move.png
-share/icons/oxygen/32x32/actions/semantik_point.png
-share/icons/oxygen/32x32/actions/semantik_sort.png
-share/icons/oxygen/48x48/actions/semantik_move.png
-share/icons/oxygen/64x64/actions/semantik_sort.png
%%NLS%%share/locale/cs/LC_MESSAGES/semantik.mo
%%NLS%%share/locale/el/LC_MESSAGES/semantik.mo
%%NLS%%share/locale/es/LC_MESSAGES/semantik.mo