mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
336ae3953d
- Fix a few of pkg-descr by chase the rename. - Move all PORTREVISION and PORTEPOCH to top with ?=. - Put USE_X_PREFIX back in, but under REFERENCE_PORT, and remove PREFIX? and USE_XLIB. This fix ports to use the correct mtree when you change the prefix, for example: Incorrect: (Without USE_X_PREFIX) ================================ # cd /usr/ports/x11-toolkits/gtk20 # make -V MTREE_FILE /etc/mtree/BSD.x11-4.dist # make PREFIX=/tmp/foo -V MTREE_FILE /etc/mtree/BSD.local.dist <-- Here... ================================ Correct: (With USE_X_PREFIX) ================================ # cd /usr/ports/x11-toolkits/gtk20 # make -V MTREE_FILE /etc/mtree/BSD.x11-4.dist # make PREFIX=/tmp/foo -V MTREE_FILE /etc/mtree/BSD.x11-4.dist <-- Here... ================================ - Change a several of *-reference ports to install in LOCALBASE instead X11BASE, but only two gtkmm*-reference couldn't be change at the moment. Bump the PORTREVISION for change prefix. Discussed with: marcus
26 lines
650 B
Makefile
26 lines
650 B
Makefile
# New ports collection makefile for: libxml2-reference
|
|
# Date created: 09 May 2006
|
|
# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTREVISION= 0
|
|
|
|
BUILD_DEPENDS= ${NONEXISTENT}:${.CURDIR}/../libxml2:configure
|
|
|
|
PARENT_WRKSRC!= cd ${.CURDIR}/../libxml2 && ${MAKE} -V WRKSRC
|
|
EXTRACT_ONLY=
|
|
USE_GMAKE= yes
|
|
|
|
EXAMPLES= testHTML.c testSAX.c testXPath.c xmllint.c
|
|
PLIST_FILES= ${EXAMPLES:S|^|%%EXAMPLESDIR%%/|}
|
|
PLIST_DIRS= %%EXAMPLESDIR%%
|
|
|
|
do-install:
|
|
.for d in . doc doc/devhelp doc/examples
|
|
@cd ${PARENT_WRKSRC}/${d} && ${GMAKE} install-data-local
|
|
.endfor
|
|
|
|
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"
|