aboutsummaryrefslogtreecommitdiffstats
path: root/biology/gperiodic/Makefile
blob: 23b8bf2c6bf1f612872cd1e139c1fa09f01e4f42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    gperiodic
# Version required:         1.2.2
# Date created:             16 July 1999
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

DISTNAME=   gperiodic-1.2.2
CATEGORIES= biology
MASTER_SITES=   ftp://ftp.seul.org/pub/gperiodic/

MAINTAINER= andy@icc.surw.chel.su

LIB_DEPENDS=    gtk12.2:${PORTSDIR}/x11-toolkits/gtk12

USE_GMAKE=  yes
WRKSRC=     ${WRKDIR}/gperiodic

MAN1=       gperiodic.1

USE_X_PREFIX=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
        GLIB_CONFIG="${LOCALBASE}/bin/glib12-config" \
        GTK_CONFIG="${X11BASE}/bin/gtk12-config"

post-install:
    @ ${INSTALL_MAN} ${WRKSRC}/man/gperiodic.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
    @ ${MKDIR} ${PREFIX}/share/doc/gperiodic
.for file in AUTHORS COPYING Changes README
    @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/gperiodic
.endfor
.endif

.include <bsd.port.mk>