mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
f6d56007b9
While there, cleanup, and sort depends. When build and run dependencies are the same, there are three ways to avoid duplicating the list while not adding the framework added BUILD_DEPENDS to the RUN_DEPENDS. In order of preference, they are: 1) use RUN_DEPENDS to set BUILD_DEPENDS: BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= foo:bar/baz 2) create another variable and use it: MY_DEPENDS= foo:bar/baz BUILD_DEPENDS= ${MY_DEPENDS} RUN_DEPENDS= ${MY_DEPENDS} 3) use BUILD_DEPENDS to set RUN_DEPENDS and force evaluation: BUILD_DEPENDS= foo:bar/baz RUN_DEPENDS:= ${BUILD_DEPENDS} Sponsored by: Absolight
32 lines
654 B
Makefile
32 lines
654 B
Makefile
# Created by: Oliver Braun
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mutt_vc_query
|
|
PORTVERSION= 002
|
|
CATEGORIES= mail
|
|
MASTER_SITES= SF/rolo/${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= jgh@FreeBSD.org
|
|
COMMENT= vCard query utility for mutt
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= libvc>=003:devel/libvc
|
|
|
|
USES= tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
CFLAGS+= -I${PREFIX}/include \
|
|
-L${PREFIX}/lib
|
|
|
|
PORTDOCS= *
|
|
PLIST_FILES= bin/mutt_vc_query man/man1/mutt_vc_query.1.gz
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for DOC in AUTHORS ChangeLog NEWS README THANKS
|
|
${INSTALL_DATA} ${WRKSRC}/${DOC} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|