aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-01-09 06:41:39 +0800
committerjgh <jgh@FreeBSD.org>2013-01-09 06:41:39 +0800
commit6ee1b18acffdbb467eb489fac147892697535a7d (patch)
treeebdaa2403d70cd8ccc1033c1b627736241491e8c /mail
parent60435e4865cb18efff3d694b26b394cd120dfd8b (diff)
downloadfreebsd-ports-gnome-6ee1b18acffdbb467eb489fac147892697535a7d.tar.gz
freebsd-ports-gnome-6ee1b18acffdbb467eb489fac147892697535a7d.tar.zst
freebsd-ports-gnome-6ee1b18acffdbb467eb489fac147892697535a7d.zip
- trim historical header
- tighten COMMENT - depend on package name for libvc - use PORTDOCS and PLIST_FILES in favor of plist - adopt optionsNG for DOCS and show installation of files - take maintainership
Diffstat (limited to 'mail')
-rw-r--r--mail/mutt_vc_query/Makefile20
-rw-r--r--mail/mutt_vc_query/pkg-plist7
2 files changed, 10 insertions, 17 deletions
diff --git a/mail/mutt_vc_query/Makefile b/mail/mutt_vc_query/Makefile
index 2be6ac12536f..80d55cb8cadc 100644
--- a/mail/mutt_vc_query/Makefile
+++ b/mail/mutt_vc_query/Makefile
@@ -1,19 +1,15 @@
-# New ports collection makefile for: mutt_vc_query
-# Date created: 14 May 2003
-# Whom: Oliver Braun
-#
+# Created by: Oliver Braun
# $FreeBSD$
-#
PORTNAME= mutt_vc_query
PORTVERSION= 002
CATEGORIES= mail
MASTER_SITES= SF/rolo/${PORTNAME}/${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A vCard query utility for mutt
+MAINTAINER= jgh@FreeBSD.org
+COMMENT= vCard query utility for mutt
-RUN_DEPENDS= ${LOCALBASE}/lib/libvc.so:${PORTSDIR}/devel/libvc
+RUN_DEPENDS= libvc>=003:${PORTSDIR}/devel/libvc
BUILD_DEPENDS:= ${RUN_DEPENDS}
USE_BZIP2= yes
@@ -22,12 +18,16 @@ CFLAGS+= -I${PREFIX}/include \
-L${PREFIX}/lib
MAN1= mutt_vc_query.1
+PORTDOCS= *
+PLIST_FILES= bin/mutt_vc_query
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
.for DOC in AUTHORS ChangeLog NEWS README THANKS
- @${INSTALL_DATA} ${WRKSRC}/${DOC} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${DOC} ${DOCSDIR}
.endfor
.endif
diff --git a/mail/mutt_vc_query/pkg-plist b/mail/mutt_vc_query/pkg-plist
deleted file mode 100644
index 36af03ae5093..000000000000
--- a/mail/mutt_vc_query/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-bin/mutt_vc_query
-%%PORTDOCS%%share/doc/mutt_vc_query/AUTHORS
-%%PORTDOCS%%share/doc/mutt_vc_query/ChangeLog
-%%PORTDOCS%%share/doc/mutt_vc_query/NEWS
-%%PORTDOCS%%share/doc/mutt_vc_query/README
-%%PORTDOCS%%share/doc/mutt_vc_query/THANKS
-%%PORTDOCS%%@dirrm share/doc/mutt_vc_query