1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 0.8.4.

- STAGEify.
- Use OPTIONS helpers.
This commit is contained in:
Alberto Villa 2013-11-13 10:26:59 +00:00
parent f451bf37d7
commit 8d404a0e0c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333666
3 changed files with 15 additions and 27 deletions

View File

@ -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>

View File

@ -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

View File

@ -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