summaryrefslogtreecommitdiff
path: root/x11/gtk/Makefile
blob: 6d1977c9446c955c8e5d63887cbb8ba13f29f0c6 (plain)
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
# New ports collection makefile for:	gtk
# Version required:			1.0.0
# Date created:				29 January 1998
# Whom:					bsieker@techfak.uni-bielefeld.de
#
# $NetBSD: Makefile,v 1.6 1998/04/14 23:15:59 tron Exp $

DISTNAME=	gtk+-1.0.0
CATEGORIES=	x11
MASTER_SITES=	ftp://ftp.gimp.org/pub/gtk/v1.0/ \
		ftp://infosoc.uni-koeln.de/pub/ftp.gimp.org/pub/gtk/v1.0/ \
		ftp://ftp.flirble.org/pub/X/gimp/pub/gtk/v1.0/

MAINTAINER=	bsieker@techfak.uni-bielefeld.de

BUILD_DEPENDS=	${LOCALBASE}/bin/install-info:${PORTSDIR}/devel/gtexinfo

GNU_CONFIGURE=  yes
USE_X11=	yes

CFLAGS=		-pipe -O2

PLIST_SRC=	${WRKDIR:T}/.PLIST-src

pre-install:
	@if [ ! -f ${PREFIX}/info/dir ]; then \
	  ${SED} -ne '1,/Menu:/p' ${LOCALBASE}/info/dir > ${PREFIX}/info/dir; \
	 fi
	@${SED} -e 's|\$${LOCALBASE}|'${LOCALBASE}'|g' < ${PKGDIR}/PLIST > ${PLIST_SRC}

.include <bsd.port.mk>