mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
6f6fbe4bdf
- 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
54 lines
1.1 KiB
Makefile
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>
|