1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/biology/gperiodic/Makefile
Edwin Groothuis bdb4445a67 Update port: biology/gperiodic to 2.0.6
- Update to version 2.0.6

PR:		 ports/56522
Submitted by:	 KATO Tsuguru <tkato@prontomail.com>
2003-09-08 06:09:31 +00:00

41 lines
951 B
Makefile

# New ports collection makefile for: gperiodic
# Date created: 16 July 1999
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= gperiodic
PORTVERSION= 2.0.6
CATEGORIES= biology
MASTER_SITES= http://www.acclab.helsinki.fi/~frantz/software/
MAINTAINER= ports@FreeBSD.org
COMMENT= Displays a periodic table of the elements
USE_X_PREFIX= yes
USE_GNOME= gtk20
MAKE_ARGS= CC="${CC} ${CFLAGS}"
ALL_TARGET= ${PORTNAME}
post-build:
.for lang in da fr pl sv
cd ${WRKSRC}/po && msgfmt -f -v -o ${lang}.mo ${lang}.po
.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gperiodic ${PREFIX}/bin
.for lang in da fr pl sv
@${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>