mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
f935a609c5
supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run
37 lines
880 B
Makefile
37 lines
880 B
Makefile
# New ports collection makefile for: pkgconfig
|
|
# Date created: 30 April 2001
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
# $MCom: ports/devel/pkg-config/Makefile,v 1.9 2007/07/01 20:46:42 mezz Exp $
|
|
#
|
|
|
|
PORTNAME= pkg-config
|
|
PORTVERSION= 0.22
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://pkgconfig.freedesktop.org/releases/
|
|
DIST_SUBDIR= gnome2
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= A utility to retrieve information about installed libraries
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= gnometarget
|
|
|
|
MAN1= pkg-config.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
PC_PATH=${PREFIX}/libdata/pkgconfig
|
|
PC_PATH:=${PC_PATH}:${PREFIX}/lib/pkgconfig
|
|
.if ${LOCALBASE} != ${PREFIX}
|
|
PC_PATH:= ${PC_PATH}:${LOCALBASE}/libdata/pkgconfig
|
|
PC_PATH:= ${PC_PATH}:${LOCALBASE}/lib/pkgconfig
|
|
.endif
|
|
|
|
CONFIGURE_ARGS= --disable-threads \
|
|
--with-pc-path="${PC_PATH}"
|
|
|
|
.include <bsd.port.post.mk>
|