aboutsummaryrefslogtreecommitdiff
path: root/misc/metalink-tools/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2008-08-10 10:13:37 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2008-08-10 10:13:37 +0000
commit755cb7803ca442e06f47c516f49e27cfc28a4852 (patch)
tree0bf67f08290c6d2f6f90cae53ee248be6e4ca023 /misc/metalink-tools/Makefile
parent2d1bef7d82025a36fcbd4bf0dbb274f41ebb277e (diff)
downloadports-755cb7803ca442e06f47c516f49e27cfc28a4852.tar.gz
ports-755cb7803ca442e06f47c516f49e27cfc28a4852.zip
Notes
Diffstat (limited to 'misc/metalink-tools/Makefile')
-rw-r--r--misc/metalink-tools/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/misc/metalink-tools/Makefile b/misc/metalink-tools/Makefile
new file mode 100644
index 000000000000..f91172f0185b
--- /dev/null
+++ b/misc/metalink-tools/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: Metalink tools
+# Date created: Sun 10 Aug 2008 04:22:51 UTC
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= metalink
+PORTVERSION= 0.3.3
+CATEGORIES= misc
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= metalinks
+PKGNAMESUFFIX?= -tools
+
+MAINTAINER= lioux@FreeBSD.org
+COMMENT= Metalink generation tool
+
+LIB_DEPENDS= gcrypt.15:${PORTSDIR}/security/libgcrypt \
+ boost_filesystem.4:${PORTSDIR}/devel/boost \
+ boost_program_options.4:${PORTSDIR}/devel/boost \
+ boost_regex.4:${PORTSDIR}/devel/boost
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= AWK="${AWK}" \
+ CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
+
+# Documents to install
+DOC_FILES= \
+ README
+
+.ifndef(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
+PLIST_FILES= bin/${PORTNAME}
+
+do-install:
+# docs
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+ @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+
+.include <bsd.port.mk>