1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/misc/metalink-tools/Makefile
Pawel Pekala e7a3a67944 - Add staging support
- Convert to new LIB_DEPENDS format, options framework
2014-06-13 09:18:53 +00:00

40 lines
971 B
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= metalink
PORTVERSION= 0.3.6
PORTREVISION= 3
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:${PORTSDIR}/security/libgcrypt \
libglibmm-2.4.so:${PORTSDIR}/devel/glibmm \
libgpg-error.so:${PORTSDIR}/security/libgpg-error \
libsigc-2.0.so:${PORTSDIR}/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:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>