aboutsummaryrefslogtreecommitdiff
path: root/net/linc
diff options
context:
space:
mode:
Diffstat (limited to 'net/linc')
-rw-r--r--net/linc/Makefile11
-rw-r--r--net/linc/pkg-plist9
2 files changed, 10 insertions, 10 deletions
diff --git a/net/linc/Makefile b/net/linc/Makefile
index cc545138d6d3..1c97fa4f2031 100644
--- a/net/linc/Makefile
+++ b/net/linc/Makefile
@@ -7,7 +7,6 @@
PORTNAME= linc
PORTVERSION= 1.0.3
-PORTREVISION= 5
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.0
@@ -17,6 +16,11 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= A library for writing networked servers & clients
USE_BZIP2= yes
+
+.if !defined(REFERENCE_PORT)
+
+PORTREVISION= 6
+
USE_GMAKE= yes
USE_GNOME= gnomehack glib20
INSTALLS_SHLIB= yes
@@ -26,4 +30,9 @@ CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/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
diff --git a/net/linc/pkg-plist b/net/linc/pkg-plist
index 589d0f690486..640c4509089d 100644
--- a/net/linc/pkg-plist
+++ b/net/linc/pkg-plist
@@ -11,14 +11,5 @@ lib/liblinc.so
lib/liblinc.so.1
libdata/pkgconfig/linc.pc
share/aclocal/linc.m4
-share/doc/linc/c4.html
-share/doc/linc/index.html
-share/doc/linc/index.sgml
-share/doc/linc/linc-linc-protocol.html
-share/doc/linc/linc-linc-types.html
-share/doc/linc/linc-linc.html
-share/doc/linc/linc-lincconnection.html
-share/doc/linc/linc-lincserver.html
-@dirrm share/doc/linc
@dirrm include/linc-1.0/linc
@dirrm include/linc-1.0