mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
- Update from 2.2.0b3 to 2.3.0a4
- Use options helpers - Add stage support PR: ports/182887 Submitted by: Martin Dieringer <martin.dieringer@gmx.de> (maintainer)
This commit is contained in:
parent
9370625625
commit
f4180f6a01
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332410
@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= repsnapper
|
||||
PORTVERSION= 2.2.0b3
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.3.0a4
|
||||
CATEGORIES= cad
|
||||
MASTER_SITES= https://codeload.github.com/timschmidt/repsnapper/tar.gz/
|
||||
DISTNAME= ${PORTVERSION}
|
||||
@ -41,17 +40,12 @@ USE_GL= gl
|
||||
USE_AUTOTOOLS= automake libtool
|
||||
USE_XORG= ice pixman sm x11 xau xcb xcomposite xcursor xdamage xdmcp \
|
||||
xext xfixes xi xinerama xmu xrandr xrender xt xxf86vm
|
||||
INSTALLS_ICONS= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
OPTIONS_DEFINE= NLS
|
||||
OPTIONS_SUB= yes
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
NLS_USES= gettext
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
INSTALL_TARGET= install-strip
|
||||
@ -67,12 +61,9 @@ post-configure:
|
||||
${WRKSRC}/po/Makefile
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${PREFIX}/etc/xdg/repsnapper
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/repsnapper
|
||||
${INSTALL_DATA} ${WRKSRC}/src/repsnapper.conf \
|
||||
${PREFIX}/etc/xdg/repsnapper/repsnapper.conf.sample
|
||||
@if [ ! -f ${PREFIX}/etc/xdg/repsnapper/repsnapper.conf ]; then \
|
||||
${CP} -p ${PREFIX}/etc/xdg/repsnapper/repsnapper.conf.sample \
|
||||
${PREFIX}/etc/xdg/repsnapper/repsnapper.conf ; \
|
||||
fi
|
||||
${STAGEDIR}${PREFIX}/etc/xdg/repsnapper/repsnapper.conf.sample
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (repsnapper/2.2.0b3) = 2f55ce6bc19bba84bb6dbcda12f6546fa306fa163527d009ea8d730b85d80513
|
||||
SIZE (repsnapper/2.2.0b3) = 1314244
|
||||
SHA256 (repsnapper/2.3.0a4) = 5ec82eb6ea7db06d4d8acc82f3e3b01fdee5bf9006880ec34fe244dc96420d53
|
||||
SIZE (repsnapper/2.3.0a4) = 1310808
|
||||
|
@ -1,14 +1,14 @@
|
||||
bin/repsnapper
|
||||
@unexec if cmp -s %D/etc/xdg/repsnapper/repsnapper.conf.sample %D/etc/xdg/repsnapper/repsnapper.conf; then rm -f %D/etc/xdg/repsnapper/repsnapper.conf; fi
|
||||
etc/xdg/repsnapper/repsnapper.conf.sample
|
||||
@exec if [ ! -f %D/etc/xdg/repsnapper/repsnapper.conf ] ; then cp -p %D/%F %B/xdg/repsnapper/repsnapper.conf; fi
|
||||
@exec if [ ! -f %D/etc/xdg/repsnapper/repsnapper.conf ] ; then cp -p %D/%F %B/repsnapper.conf; fi
|
||||
share/applications/repsnapper.desktop
|
||||
share/locale/en_GB/LC_MESSAGES/repsnapper.mo
|
||||
share/locale/de_DE/LC_MESSAGES/repsnapper.mo
|
||||
share/repsnapper/repsnapper.ui
|
||||
share/repsnapper/repsnapper.svg
|
||||
%%NLS%%share/locale/en_GB/LC_MESSAGES/repsnapper.mo
|
||||
%%NLS%%share/locale/de_DE/LC_MESSAGES/repsnapper.mo
|
||||
%%DATADIR%%/repsnapper.ui
|
||||
%%DATADIR%%/repsnapper.svg
|
||||
share/icons/hicolor/scalable/apps/repsnapper.svg
|
||||
@dirrmtry etc/xdg/repsnapper
|
||||
@dirrmtry share/locale/de_DE/LC_MESSAGES
|
||||
@dirrmtry share/locale/de_DE
|
||||
@dirrm share/repsnapper
|
||||
%%NLS%%@dirrmtry share/locale/de_DE/LC_MESSAGES
|
||||
%%NLS%%@dirrmtry share/locale/de_DE
|
||||
@dirrm %%DATADIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user