aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-05-10 03:12:45 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-05-10 03:12:45 +0000
commit1f43af68087dee0a2040f78a47bbc7e8963a1bbd (patch)
tree4f6c1283a1a1088f1f49ac4e507d7be4ff0302e1 /net
parentc7ee8973c973539b5d6ca4572b71994dbbd88bae (diff)
downloadports-1f43af68087dee0a2040f78a47bbc7e8963a1bbd.tar.gz
ports-1f43af68087dee0a2040f78a47bbc7e8963a1bbd.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/linc-reference/Makefile5
-rw-r--r--net/linc/Makefile11
-rw-r--r--net/linc/pkg-plist9
4 files changed, 16 insertions, 10 deletions
diff --git a/net/Makefile b/net/Makefile
index 1c4c811d8a2a..bd5117fc09f4 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -269,6 +269,7 @@
SUBDIR += libvncserver
SUBDIR += liferea
SUBDIR += linc
+ SUBDIR += linc-reference
SUBDIR += link-monitor-applet
SUBDIR += linneighborhood
SUBDIR += linphone
diff --git a/net/linc-reference/Makefile b/net/linc-reference/Makefile
new file mode 100644
index 000000000000..fe0035ece1de
--- /dev/null
+++ b/net/linc-reference/Makefile
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+REFERENCE_SRC= ${WRKSRC}/docs
+
+.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"
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