diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-02-19 09:00:37 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-02-19 09:00:37 +0000 |
commit | 065822a4734af493d07e6b3bf2d3853c22f28991 (patch) | |
tree | 28e9d1f16d57d946ee0cfca6be019d9126896ffa /cad/gerbv | |
parent | Fix RUN_DEPENDS, bump PORTREVISION. (diff) |
- Update to 2.0.1
PR: 120814
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes:
svn path=/head/; revision=207579
Diffstat (limited to 'cad/gerbv')
-rw-r--r-- | cad/gerbv/Makefile | 18 | ||||
-rw-r--r-- | cad/gerbv/distinfo | 6 | ||||
-rw-r--r-- | cad/gerbv/pkg-plist | 10 |
3 files changed, 29 insertions, 5 deletions
diff --git a/cad/gerbv/Makefile b/cad/gerbv/Makefile index 4e0c577d4e4f..8658f67a2706 100644 --- a/cad/gerbv/Makefile +++ b/cad/gerbv/Makefile @@ -7,16 +7,17 @@ # PORTNAME= gerbv -PORTVERSION= 2.0.0 +PORTVERSION= 2.0.1 CATEGORIES= cad MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= A Free Gerber Viewer -USE_GNOME= gnometarget gtk20 +USE_GNOME= desktopfileutils gnometarget gtk20 GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +INSTALLS_ICONS= yes MAN1= gerbv.1 @@ -27,8 +28,20 @@ post-patch: @${FIND} ${WRKSRC} -name "configure" | ${XARGS} ${REINPLACE_CMD} -e \ 's|LIBPNG_CONFIG --cflags|PKG_CONFIG --cflags libpng12|g ; \ s|LIBPNG_CONFIG --ldflags|PKG_CONFIG --libs libpng12|g' + @${REINPLACE_CMD} -e '/^SUBDIRS =/s|desktop||g' ${WRKSRC}/Makefile.in post-install: + @${MKDIR} ${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/desktop/gerbv.desktop \ + ${PREFIX}/share/applications + @${MKDIR} ${PREFIX}/share/icons/hicolor/scalable/apps + ${INSTALL_DATA} ${WRKSRC}/desktop/gerbv.svg \ + ${PREFIX}/share/icons/hicolor/scalable/apps +.for i in 16 22 24 32 48 + @${MKDIR} ${PREFIX}/share/icons/hicolor/${i}x${i}/apps + ${INSTALL_DATA} ${WRKSRC}/desktop/gerbv-${i}.png \ + ${PREFIX}/share/icons/hicolor/${i}x${i}/apps/gerbv.png +.endfor .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.fig ${DOCSDIR} @@ -45,5 +58,6 @@ post-install: cd ${WRKSRC}/example && ${FIND} . ! -name "*Makefile*" | \ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} .endif + -@update-desktop-database .include <bsd.port.mk> diff --git a/cad/gerbv/distinfo b/cad/gerbv/distinfo index 24b184f8051f..05f5ff37c5c9 100644 --- a/cad/gerbv/distinfo +++ b/cad/gerbv/distinfo @@ -1,3 +1,3 @@ -MD5 (gerbv-2.0.0.tar.gz) = 04a4664f1fd434bab2e6718cc0420deb -SHA256 (gerbv-2.0.0.tar.gz) = 2297e6f4b42cb0b6631d7f132d33c0faa34552d2fc8297a91095cd553d2f4b42 -SIZE (gerbv-2.0.0.tar.gz) = 4974080 +MD5 (gerbv-2.0.1.tar.gz) = 5d07934966f262dcf3ef28a6039c2157 +SHA256 (gerbv-2.0.1.tar.gz) = fb6d4de374d9ecaeb7ac5ca2d455f532f8e5809fedda5bc11359875621156c58 +SIZE (gerbv-2.0.1.tar.gz) = 5011389 diff --git a/cad/gerbv/pkg-plist b/cad/gerbv/pkg-plist index ace5f1ac42ca..1a8fc54cd0c4 100644 --- a/cad/gerbv/pkg-plist +++ b/cad/gerbv/pkg-plist @@ -1,4 +1,5 @@ bin/gerbv +share/applications/gerbv.desktop %%PORTDOCS%%%%DOCSDIR%%/PNG-print/PNGPrintMiniHowto.txt %%PORTDOCS%%%%DOCSDIR%%/PNG-print/gimp-window.jpg %%PORTDOCS%%%%DOCSDIR%%/aperturemacro.txt @@ -84,6 +85,12 @@ bin/gerbv %%DATADIR%%/scheme/gerb-debug.scm %%DATADIR%%/scheme/gerb-ps.scm %%DATADIR%%/scheme/init.scm +share/icons/hicolor/16x16/apps/gerbv.png +share/icons/hicolor/22x22/apps/gerbv.png +share/icons/hicolor/24x24/apps/gerbv.png +share/icons/hicolor/32x32/apps/gerbv.png +share/icons/hicolor/48x48/apps/gerbv.png +share/icons/hicolor/scalable/apps/gerbv.svg @dirrm %%DATADIR%%/scheme @dirrm %%DATADIR%% %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/trailing @@ -105,3 +112,6 @@ bin/gerbv %%PORTDOCS%%@dirrm %%DOCSDIR%%/eagle %%PORTDOCS%%@dirrm %%DOCSDIR%%/PNG-print %%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrmtry share/applications +@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true +@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true |