aboutsummaryrefslogtreecommitdiffstats
path: root/biology/gperiodic/Makefile
blob: 06a0e762f429b2d4326b4e10fa066db42d4ebf5e (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.1
# Date created:             16 July 1999
# Whom:                 Andrey Zakhvatov
#
# $FreeBSD$
#

DISTNAME=   gperiodic-1.2.1
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>