1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/net/linc/Makefile
Jeremy Messenger 336ae3953d - Add header in these *-reference ports.
- 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
2006-05-31 22:18:51 +00:00

38 lines
802 B
Makefile

# New ports collection makefile for: linc
# Date Created: 12 February 2002
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= linc
PORTVERSION= 1.0.3
PORTREVISION?= 6
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.0
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= A library for writing networked servers & clients
USE_BZIP2= yes
.if !defined(REFERENCE_PORT)
USE_GMAKE= yes
USE_GNOME= gnomehack glib20
INSTALLS_SHLIB= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
--disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|docs||' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
.endif