mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
d8299fcc60
With hat: portmgr
51 lines
1.0 KiB
Makefile
51 lines
1.0 KiB
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
|
|
|
|
LIB_DEPENDS= gcrypt:${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
|
|
USES= pkgconfig
|
|
CONFIGURE_ENV+= AWK="${AWK}"
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
# Documents to install
|
|
DOC_FILES= \
|
|
README
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
PORTDOCS= *
|
|
.endif
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
NO_STAGE= yes
|
|
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>
|