diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-22 21:54:07 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-22 21:54:07 +0800 |
commit | 6e44213eaea74ca172673698cca0724052af16e8 (patch) | |
tree | 8ba9fce720ed01e7589a8863b4f021d8a0c2cd62 | |
parent | 0f794043cd0862ed5d5d7426d82dd9bcb99761a5 (diff) | |
download | marcuscom-ports-6e44213eaea74ca172673698cca0724052af16e8.tar marcuscom-ports-6e44213eaea74ca172673698cca0724052af16e8.tar.gz marcuscom-ports-6e44213eaea74ca172673698cca0724052af16e8.tar.bz2 marcuscom-ports-6e44213eaea74ca172673698cca0724052af16e8.tar.lz marcuscom-ports-6e44213eaea74ca172673698cca0724052af16e8.tar.xz marcuscom-ports-6e44213eaea74ca172673698cca0724052af16e8.tar.zst marcuscom-ports-6e44213eaea74ca172673698cca0724052af16e8.zip |
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8909 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | biology/gperiodic/Makefile | 54 | ||||
-rw-r--r-- | biology/gperiodic/distinfo | 3 | ||||
-rw-r--r-- | biology/gperiodic/pkg-descr | 5 | ||||
-rw-r--r-- | biology/gperiodic/pkg-plist | 13 |
4 files changed, 75 insertions, 0 deletions
diff --git a/biology/gperiodic/Makefile b/biology/gperiodic/Makefile new file mode 100644 index 000000000..fbc0a8b52 --- /dev/null +++ b/biology/gperiodic/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: gperiodic +# Date created: 16 July 1999 +# Whom: Andrey Zakhvatov +# +# $FreeBSD$ +# $MCom: ports/biology/gperiodic/Makefile,v 1.1 2006/09/29 23:42:13 ahze Exp $ + +PORTNAME= gperiodic +PORTVERSION= 2.0.8 +PORTREVISION= 5 +CATEGORIES= biology +MASTER_SITES= http://koti.welho.com/jfrantz/software/ + +MAINTAINER= ports@FreeBSD.org +COMMENT= Displays a periodic table of the elements + +USE_XLIB= yes +USE_GNOME= gnomeprefix gtk20 +ALL_TARGET= ${PORTNAME} +USE_GETTEXT= yes +LANGS= da fr pl sv tr + +post-patch: + @${REINPLACE_CMD} -e 's|^CC=|CC?=|g ; \ + s|^CFLAGS=|CFLAGS+=|g' ${WRKSRC}/Makefile + +post-build: +.for lang in ${LANGS} + cd ${WRKSRC}/po && msgfmt -f -v -o ${lang}.mo ${lang}.po +.endfor + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/gperiodic ${PREFIX}/bin + @${MKDIR} ${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/gperiodic.desktop \ + ${PREFIX}/share/applications + @${MKDIR} ${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/gperiodic.png \ + ${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/gperiodic-crystal.png \ + ${PREFIX}/share/pixmaps +.for lang in ${LANGS} + @${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES + ${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ + ${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo +.endfor +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in AUTHORS ChangeLog README + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/biology/gperiodic/distinfo b/biology/gperiodic/distinfo new file mode 100644 index 000000000..a24602329 --- /dev/null +++ b/biology/gperiodic/distinfo @@ -0,0 +1,3 @@ +MD5 (gperiodic-2.0.8.tar.gz) = cfe23eaa21707c2c42bcd6399161ec2e +SHA256 (gperiodic-2.0.8.tar.gz) = c853953ea7149574214572cb61450b3a822010775d086c8bea5abef9e692284c +SIZE (gperiodic-2.0.8.tar.gz) = 125402 diff --git a/biology/gperiodic/pkg-descr b/biology/gperiodic/pkg-descr new file mode 100644 index 000000000..1fb016161 --- /dev/null +++ b/biology/gperiodic/pkg-descr @@ -0,0 +1,5 @@ +Gperiodic displays a periodic table of the elements, allowing you to +browse through the elements, and view detailed information about each +element. + +WWW: http://koti.welho.com/jfrantz/software/gperiodic.html diff --git a/biology/gperiodic/pkg-plist b/biology/gperiodic/pkg-plist new file mode 100644 index 000000000..9fabe1586 --- /dev/null +++ b/biology/gperiodic/pkg-plist @@ -0,0 +1,13 @@ +bin/gperiodic +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/README +share/applications/gperiodic.desktop +share/pixmaps/gperiodic.png +share/pixmaps/gperiodic-crystal.png +share/locale/da/LC_MESSAGES/gperiodic.mo +share/locale/fr/LC_MESSAGES/gperiodic.mo +share/locale/pl/LC_MESSAGES/gperiodic.mo +share/locale/sv/LC_MESSAGES/gperiodic.mo +share/locale/tr/LC_MESSAGES/gperiodic.mo +%%PORTDOCS%%@dirrm %%DOCSDIR%% |