066a51d899
- Add INSTALL_TARGET=install-strip
33 lines
699 B
Makefile
33 lines
699 B
Makefile
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= linc
|
|
PORTVERSION= 1.0.3
|
|
PORTREVISION?= 8
|
|
CATEGORIES= net
|
|
MASTER_SITES= GNOME
|
|
DIST_SUBDIR= gnome2
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= Library for writing networked servers & clients
|
|
|
|
USES= tar:bzip2
|
|
|
|
.if !defined(REFERENCE_PORT)
|
|
|
|
USES+= gmake libtool pathfix pkgconfig
|
|
USE_GNOME= glib20
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
|
|
--disable-gtk-doc
|
|
CPPFLAGS+= -I${LOCALBASE}/include -DGLIB_COMPILATION
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
INSTALL_TARGET= install-strip
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|docs||' ${WRKSRC}/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
.endif
|