summaryrefslogtreecommitdiff
path: root/devel/pkgconfig/Makefile
blob: b3e215589af0aa8ef2f76207fffa9bd276aa089d (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:	pkgconfig
# Date created:				30 April 2001
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	pkgconfig
PORTVERSION=	0.5.0
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	gnome@FreeBSD.org

BUILD_DEPENDS=	/nonexistent:${PORTSDIR}/devel/glib12:patch

USE_GMAKE=	yes
USE_LIBTOOL=	yes
LIBTOOLFILES=	configure glib-1.2.8/configure
LIBTOOLFLAGS=	--disable-ltlibs \
		--disable-shared

PLIST_SUB=	LOCALBASE=${LOCALBASE} X11BASE=${X11BASE}

MAN1=		pkg-config.1

post-extract:
	@${RM} -rf ${WRKSRC}/glib-1.2.8
	@${CP} -R ${WRKDIRPREFIX}${.CURDIR}/../../devel/glib12/work/glib-1.2* \
		${WRKSRC}/glib-1.2.8

post-install:
	${MKDIR} ${PREFIX}/libdata/pkgconfig
	${INSTALL_MAN} ${WRKSRC}/pkg-config.1 ${PREFIX}/man/man1

.include <bsd.port.mk>