aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/libvc/Makefile21
-rw-r--r--devel/libvc/pkg-plist11
2 files changed, 12 insertions, 20 deletions
diff --git a/devel/libvc/Makefile b/devel/libvc/Makefile
index f63ce0f21578..c0ed0f12d1aa 100644
--- a/devel/libvc/Makefile
+++ b/devel/libvc/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: libvc
-# Date created: 12 May 2003
-# Whom: Oliver Braun
-#
+# Created by: Oliver Braun
# $FreeBSD$
-#
PORTNAME= libvc
PORTVERSION= 003
@@ -11,8 +7,8 @@ PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF/rolo/${PORTNAME}/${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A vCard library
+MAINTAINER= jgh@FreeBSD.org
+COMMENT= vCard library
USE_AUTOTOOLS= libtool
USE_BZIP2= yes
@@ -21,12 +17,19 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
MAN3= vc.3
+PLIST_FILES= lib/libvc.a \
+ lib/libvc.so \
+ lib/libvc.so.0 \
+ include/vc.h
+PORTDOCS= *
+
+.include <bsd.port.options.mk>
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for DOC in AUTHORS ChangeLog NEWS README THANKS doc/rfc2426.txt
- @${INSTALL_DATA} ${WRKSRC}/${DOC} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${DOC} ${DOCSDIR}
.endfor
.endif
@${RM} -f ${PREFIX}/lib/libvc.la
diff --git a/devel/libvc/pkg-plist b/devel/libvc/pkg-plist
deleted file mode 100644
index 63fff440834d..000000000000
--- a/devel/libvc/pkg-plist
+++ /dev/null
@@ -1,11 +0,0 @@
-lib/libvc.a
-lib/libvc.so
-lib/libvc.so.0
-include/vc.h
-%%PORTDOCS%%share/doc/libvc/AUTHORS
-%%PORTDOCS%%share/doc/libvc/ChangeLog
-%%PORTDOCS%%share/doc/libvc/NEWS
-%%PORTDOCS%%share/doc/libvc/README
-%%PORTDOCS%%share/doc/libvc/THANKS
-%%PORTDOCS%%share/doc/libvc/rfc2426.txt
-%%PORTDOCS%%@dirrm share/doc/libvc