- Update to 0.14.1

- Convert some bits to options helpers

PR:		205622
Submitted by:	jochen@jochen-neumeister.de
This commit is contained in:
Dmitry Marakasov 2015-12-28 15:22:01 +00:00
parent c8639040a8
commit bbac02c0fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404662
2 changed files with 10 additions and 11 deletions

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= xmedcon
PORTVERSION= 0.13.0
PORTREVISION= 3
PORTVERSION= 0.14.1
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/XMedCon-Source/${PORTVERSION}
@ -32,6 +31,12 @@ OPTIONS_SUB= yes
X11_CONFIGURE_ENABLE= gui
X11_USE= GNOME=gtk20
X11_DESKTOP_ENTRIES= "XMedCon" \
"" \
"${PREFIX}/etc/xmedcon.png" \
"${PORTNAME}" \
"" \
""
GLIB_DESC= With Glib
GLIB_CONFIGURE_ENABLE= glib
@ -66,10 +71,6 @@ PNG_LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MX11}
DESKTOP_ENTRIES="XMedCon" "" "${PREFIX}/etc/xmedcon.png" "${PORTNAME}" "" ""
.endif
.if empty(PORT_OPTIONS:MACR_NEMA) || empty(PORT_OPTIONS:MDICOM)
CONFIGURE_ARGS+= --disable-acr
.endif
@ -86,12 +87,10 @@ post-patch:
@${REINPLACE_CMD} -e '/xmedcon.1/d' \
${WRKSRC}/man/Makefile.in
post-install:
.if ${PORT_OPTIONS:MX11}
post-install-X11-on:
.for file in xmedcon.png xmedconrc xmedconrc.linux
${INSTALL_DATA} ${WRKSRC}/etc/${file} ${STAGEDIR}${PREFIX}/etc
.endfor
${INSTALL_MAN} ${WRKSRC}/man/xmedcon.1 ${STAGEDIR}${MANPREFIX}/man/man1
.endif
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (xmedcon-0.13.0.tar.bz2) = 66f402551c2c08f9779c6eb233a03f4f12c62c5b8b879f42058f0c320a71fd21
SIZE (xmedcon-0.13.0.tar.bz2) = 801199
SHA256 (xmedcon-0.14.1.tar.bz2) = a6d194bf44d3d6c96cd8d6e1ad586b5d5e20de1c09dbbb51c76f9e5fd4ae6949
SIZE (xmedcon-0.14.1.tar.bz2) = 806103