Lines 6-33
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= gperiodic |
8 |
PORTNAME= gperiodic |
9 |
PORTVERSION= 1.3.3 |
9 |
PORTVERSION= 2.0.5 |
10 |
CATEGORIES= biology |
10 |
CATEGORIES= biology |
11 |
MASTER_SITES= ftp://ftp.seul.org/pub/gperiodic/ \ |
11 |
MASTER_SITES= http://www.acclab.helsinki.fi/~frantz/software/ |
12 |
http://www.unixpages.org/distfiles/ |
|
|
13 |
|
12 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= Displays a periodic table of the elements |
14 |
COMMENT= Displays a periodic table of the elements |
16 |
|
15 |
|
17 |
USE_X_PREFIX= yes |
16 |
USE_X_PREFIX= yes |
18 |
USE_GNOME= gtk12 |
17 |
USE_GNOME= gtk20 |
19 |
USE_GMAKE= yes |
18 |
MAKE_ARGS= CC="${CC} ${CFLAGS}" |
20 |
GNU_CONFIGURE= yes |
19 |
ALL_TARGET= ${PORTNAME} |
21 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
|
|
22 |
LIBS="-L${LOCALBASE}/lib" |
23 |
|
20 |
|
24 |
MAN1= gperiodic.1 |
21 |
post-build: |
|
|
22 |
.for lang in da pl sv |
23 |
cd ${WRKSRC}/po && msgfmt -f -v -o ${lang}.mo ${lang}.po |
24 |
.endfor |
25 |
|
25 |
|
26 |
post-extract: |
26 |
do-install: |
27 |
@${LN} -sf Makefile.in.in ${WRKSRC}/po/Makefile.in |
27 |
${INSTALL_PROGRAM} ${WRKSRC}/gperiodic ${PREFIX}/bin |
28 |
|
28 |
.for lang in da pl sv |
29 |
post-install: |
29 |
@${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES |
30 |
${INSTALL_MAN} ${WRKSRC}/man/gperiodic.1 ${MANPREFIX}/man/man1 |
30 |
${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ |
|
|
31 |
${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo |
32 |
.endfor |
31 |
.if !defined(NOPORTDOCS) |
33 |
.if !defined(NOPORTDOCS) |
32 |
@${MKDIR} ${DOCSDIR} |
34 |
@${MKDIR} ${DOCSDIR} |
33 |
.for file in AUTHORS ChangeLog README |
35 |
.for file in AUTHORS ChangeLog README |