1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Update to 1.6.3

Stagify.
This commit is contained in:
Niclas Zeising 2013-12-09 11:01:59 +00:00
parent 1a08dc5a99
commit 60c728304a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335965
4 changed files with 25 additions and 27 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= xombrero
PORTVERSION= 1.6.0
PORTVERSION= 1.6.3
CATEGORIES= www
MASTER_SITES= https://opensource.conformal.com/snapshots/xombrero/
EXTRACT_SUFX= .tgz
@ -19,19 +19,14 @@ USES= pkgconfig perl5
USE_PERL5= build
INSTALLS_ICONS= yes
MAN1= xombrero.1
PORTEXAMPLES= favorites playflash.sh xombrero.conf
BUILD_WRKSRC= ${WRKSRC}/freebsd
OPTIONS_DEFINE= EXAMPLES
OPTIONS_SINGLE= GTK
OPTIONS_SINGLE_GTK=GTK2 GTK3
OPTIONS_DEFAULT=EXAMPLES GTK3
OPTIONS_DEFAULT=GTK3
SUB_FILES= xombrero
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${OSVERSION} < 800041
@ -54,24 +49,22 @@ post-patch:
-e 's|/etc/ssl/cert.pem|${LOCALBASE}/share/certs/ca-root-nss.crt|' \
unix.c xombrero.conf
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/xombrero ${PREFIX}/bin/xombrero
${INSTALL_PROGRAM} ${WRKSRC}/freebsd/xombrero ${PREFIX}/bin/xombrero-bin
${INSTALL_MAN} ${WRKSRC}/xombrero.1 ${MANPREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKDIR}/xombrero ${STAGEDIR}${PREFIX}/bin/xombrero
${INSTALL_PROGRAM} ${WRKSRC}/freebsd/xombrero ${STAGEDIR}${PREFIX}/bin/xombrero-bin
${INSTALL_MAN} ${WRKSRC}/xombrero.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.for i in 16 32 48 64 128
${MKDIR} ${PREFIX}/share/icons/hicolor/${i}x${i}/apps
${INSTALL_DATA} ${WRKSRC}/xombreroicon${i}.png ${PREFIX}/share/icons/hicolor/${i}x${i}/apps
${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps
${INSTALL_DATA} ${WRKSRC}/xombreroicon${i}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps
.endfor
${MKDIR} ${DATADIR}
${MKDIR} ${STAGEDIR}${DATADIR}
.for i in hsts-preload style.css tld-rules
${INSTALL_DATA} ${WRKSRC}/${i} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DATADIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/xombrero.desktop ${PREFIX}/share/applications
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/xombrero.desktop ${STAGEDIR}${PREFIX}/share/applications
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for i in favorites xombrero.conf
${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${EXAMPLESDIR}
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/playflash.sh ${EXAMPLESDIR}
.endif
${INSTALL_SCRIPT} ${WRKSRC}/playflash.sh ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (xombrero-1.6.0.tgz) = afc615b68eddc096569bab973901e3153e4b4230d88916d930a59ccd364a5d17
SIZE (xombrero-1.6.0.tgz) = 289902
SHA256 (xombrero-1.6.3.tgz) = 481011c136206f7aa3ab4cdf49ad77f81df4d5585f9e9a20c651bfaaaa537f79
SIZE (xombrero-1.6.3.tgz) = 290478

View File

@ -1,9 +1,9 @@
--- freebsd/Makefile.orig 2013-05-16 18:12:42.000000000 +0200
+++ freebsd/Makefile 2013-05-22 13:40:50.369368284 +0200
--- freebsd/Makefile.orig 2013-12-08 20:54:46.651261821 +0100
+++ freebsd/Makefile 2013-12-08 20:55:15.418253611 +0100
@@ -9,7 +9,7 @@
LDADD= -lutil -lgcrypt
GTK_CFLAGS!= pkg-config --cflags $(LIBS)
GTK_LDFLAGS!= pkg-config --libs $(LIBS)
LDADD= -lutil
GTK_CFLAGS!= pkgconf --cflags $(LIBS)
GTK_LDFLAGS!= pkgconf --libs $(LIBS)
-CFLAGS+= $(GTK_CFLAGS) -O2 -Wall -I. -I..
+CFLAGS+= $(GTK_CFLAGS) -Wall -I. -I..
LDFLAGS+= $(GTK_LDFLAGS)

View File

@ -1,5 +1,6 @@
bin/xombrero
bin/xombrero-bin
man/man1/xombrero.1.gz
share/applications/xombrero.desktop
share/icons/hicolor/128x128/apps/xombreroicon128.png
share/icons/hicolor/16x16/apps/xombreroicon16.png
@ -9,6 +10,10 @@ share/icons/hicolor/64x64/apps/xombreroicon64.png
%%DATADIR%%/hsts-preload
%%DATADIR%%/style.css
%%DATADIR%%/tld-rules
%%EXAMPLESDIR%%/favorites
%%EXAMPLESDIR%%/playflash.sh
%%EXAMPLESDIR%%/xombrero.conf
@dirrm %%EXAMPLESDIR%%
@dirrm %%DATADIR%%
@dirrmtry share/icons/hicolor/64x64/apps
@dirrmtry share/icons/hicolor/64x64