freebsd-ports/misc/metalink-tools/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

41 lines
945 B
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= metalink
PORTVERSION= 0.3.6
PORTREVISION= 5
CATEGORIES= misc
MASTER_SITES= SF/metalinks/Metalink%20commandline/${PORTVERSION}
PKGNAMESUFFIX?= -tools
MAINTAINER= ports@FreeBSD.org
COMMENT= Metalink generation tool
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgcrypt.so:security/libgcrypt \
libglibmm-2.4.so:devel/glibmm \
libgpg-error.so:security/libgpg-error \
libsigc-2.0.so:devel/libsigc++20
USE_GNOME= glib20
GNU_CONFIGURE= yes
USES= pkgconfig
CONFIGURE_ENV+= AWK="${AWK}"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= README
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>