aboutsummaryrefslogtreecommitdiff
path: root/misc/metalink-tools
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-06-13 09:18:53 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-06-13 09:18:53 +0000
commite7a3a6794464351ede8e5bc3b5dc0b514e3b1cd8 (patch)
tree3c79f78a07d8b7515e18ca8739f9cf4219386779 /misc/metalink-tools
parentc91752f4ee454e34d012632e7b95a6a0d1abfc42 (diff)
downloadports-e7a3a6794464351ede8e5bc3b5dc0b514e3b1cd8.tar.gz
ports-e7a3a6794464351ede8e5bc3b5dc0b514e3b1cd8.zip
Notes
Diffstat (limited to 'misc/metalink-tools')
-rw-r--r--misc/metalink-tools/Makefile33
1 files changed, 11 insertions, 22 deletions
diff --git a/misc/metalink-tools/Makefile b/misc/metalink-tools/Makefile
index d151ebc0ac1b..22fac08d79d7 100644
--- a/misc/metalink-tools/Makefile
+++ b/misc/metalink-tools/Makefile
@@ -11,14 +11,14 @@ 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
+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
@@ -26,25 +26,14 @@ CONFIGURE_ENV+= AWK="${AWK}"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-# Documents to install
-DOC_FILES= \
- README
-
-.ifndef(NOPORTDOCS)
-PORTDOCS= *
-.endif
-
+PORTDOCS= README
PLIST_FILES= bin/${PORTNAME}
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
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
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>