aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2008-05-22 00:26:14 +0800
committerwxs <wxs@FreeBSD.org>2008-05-22 00:26:14 +0800
commite286a338d7aa84bc798f8819430d94fd9a561cd2 (patch)
tree021f880fe5b2327bf0a29fda32ebe16591f1b8d9 /devel
parent6381ef391af59786335fcf42c3c0f56631526928 (diff)
downloadfreebsd-ports-gnome-e286a338d7aa84bc798f8819430d94fd9a561cd2.tar.gz
freebsd-ports-gnome-e286a338d7aa84bc798f8819430d94fd9a561cd2.tar.zst
freebsd-ports-gnome-e286a338d7aa84bc798f8819430d94fd9a561cd2.zip
Properly respect NOPORTDOCS.[1]
Pass maintainership to submitter of previous update[2]. (private mail) Submitted by: itetcu [1], Nick Evans <nevans@talkpoint.com> [2] Approved by: garga (mentor, implicit)
Diffstat (limited to 'devel')
-rw-r--r--devel/silc-toolkit/Makefile10
-rw-r--r--devel/silc-toolkit/pkg-plist8
2 files changed, 13 insertions, 5 deletions
diff --git a/devel/silc-toolkit/Makefile b/devel/silc-toolkit/Makefile
index 51c4b385a10a..521e56bbeca2 100644
--- a/devel/silc-toolkit/Makefile
+++ b/devel/silc-toolkit/Makefile
@@ -24,7 +24,7 @@ MASTER_SITE_SUBDIR= toolkit/sources
PKGNAMESUFFIX= -toolkit
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
-MAINTAINER= wxs@FreeBSD.org
+MAINTAINER= nevans@talkpoint.com
COMMENT= Secure Internet Live Conferencing (SILC) network toolkit
USE_AUTOTOOLS= libtool:15
@@ -43,6 +43,10 @@ CONFIGURE_ENV= CFLAGS+="${CFLAGS}" \
CPPFLAGS+="${CPPFLAGS}"
USE_LDCONFIG= yes
+.if defined(NOPORTDOCS)
+PLIST_SUB+= PORTDOCS="@comment "
+.endif
+
.ifndef(WITH_PTHREADS)
CONFIGURE_ARGS+= --without-pthreads
.else
@@ -80,6 +84,10 @@ CONFIGURE_ARGS+= --disable-asm
.endif
post-patch:
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -E -e 's|^(install-data-hook:).*|\1|' \
+ ${WRKSRC}/doc/Makefile.in ${WRKSRC}/lib/Makefile.in
+.endif
@${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/lib/Makefile.in
diff --git a/devel/silc-toolkit/pkg-plist b/devel/silc-toolkit/pkg-plist
index f65033ad66df..4a74492a7e55 100644
--- a/devel/silc-toolkit/pkg-plist
+++ b/devel/silc-toolkit/pkg-plist
@@ -1586,9 +1586,9 @@ libdata/pkgconfig/silcclient.pc
%%PORTDOCS%%%%DOCSDIR%%-toolkit/tutorial/README
%%PORTDOCS%%%%DOCSDIR%%-toolkit/tutorial/mybot/README
%%PORTDOCS%%%%DOCSDIR%%-toolkit/tutorial/mybot/mybot.c
-@dirrm %%PORTDOCS%%%%DOCSDIR%%-toolkit/tutorial/mybot
-@dirrm %%PORTDOCS%%%%DOCSDIR%%-toolkit/tutorial
-@dirrm %%PORTDOCS%%%%DOCSDIR%%-toolkit/toolkit
-@dirrm %%PORTDOCS%%%%DOCSDIR%%-toolkit
+%%PORTDOCS%%@dirrm %%DOCSDIR%%-toolkit/tutorial/mybot
+%%PORTDOCS%%@dirrm %%DOCSDIR%%-toolkit/tutorial
+%%PORTDOCS%%@dirrm %%DOCSDIR%%-toolkit/toolkit
+%%PORTDOCS%%@dirrm %%DOCSDIR%%-toolkit
@dirrmtry lib/silcsim
@dirrmtry include/silc