summaryrefslogtreecommitdiffstats
path: root/biology/gperiodic/Makefile
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 07:42:13 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 07:42:13 +0800
commit63700ace357351288bdecc8f2b15cd7e3f64d182 (patch)
tree838c61bb3b77660496d5e1bb394c87aa7d01bf13 /biology/gperiodic/Makefile
parent288f7a8e03995a391e5a69c7fa1dea605d2d3b0a (diff)
downloadmarcuscom-ports-63700ace357351288bdecc8f2b15cd7e3f64d182.tar.gz
marcuscom-ports-63700ace357351288bdecc8f2b15cd7e3f64d182.tar.zst
marcuscom-ports-63700ace357351288bdecc8f2b15cd7e3f64d182.zip
- Gnomeprefix
Spotted by: pointyhat git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7357 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'biology/gperiodic/Makefile')
-rw-r--r--biology/gperiodic/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/biology/gperiodic/Makefile b/biology/gperiodic/Makefile
new file mode 100644
index 000000000..eb9c07912
--- /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$
+
+PORTNAME= gperiodic
+PORTVERSION= 2.0.8
+PORTREVISION= 3
+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/gnome/applications
+ ${INSTALL_DATA} ${WRKSRC}/gperiodic.desktop \
+ ${PREFIX}/share/gnome/applications
+ @${MKDIR} ${PREFIX}/share/gnome/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/gperiodic.png \
+ ${PREFIX}/share/gnome/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/gperiodic-crystal.png \
+ ${PREFIX}/share/gnome/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>