1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/misc/metalink-tools/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

54 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
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= SF/metalinks/Metalink%20commandline/${PORTVERSION}
PKGNAMESUFFIX?= -tools
MAINTAINER= lioux@FreeBSD.org
COMMENT= Metalink generation tool
LIB_DEPENDS= gcrypt.18:${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
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GNOME= glib20
GNU_CONFIGURE= yes
CONFIGURE_ENV+= AWK="${AWK}"
CPPFLAGS+= -I${LOCALBASE}/include
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>