blob: 1a9257b4ed049bab928dd048d57a8eea7e486402 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Created by: 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
USES= pkgconfig
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>
|