1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/misc/metalink-tools/Makefile
Mario Sergio Fujikawa Ferreira 964b46623c Update to 0.3.6
2009-11-29 03:54:06 +00:00

50 lines
1.1 KiB
Makefile

# 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.6
CATEGORIES= misc
MASTER_SITES= SF/metalinks/Metalink%20commandline/${PORTVERSION}
PKGNAMESUFFIX?= -tools
MAINTAINER= lioux@FreeBSD.org
COMMENT= Metalink generation tool
LIB_DEPENDS= gcrypt.16:${PORTSDIR}/security/libgcrypt \
glibmm-2.4.1:${PORTSDIR}/devel/glibmm \
gpg-error.0:${PORTSDIR}/security/libgpg-error \
sigc-2.0.0:${PORTSDIR}/devel/libsigc++20
USE_GNOME= glib20
GNU_CONFIGURE= yes
CONFIGURE_ENV+= AWK="${AWK}" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
MAKE_JOBS_SAFE= yes
# 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>