2020-06-21 15:57:16 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.26 2020/06/21 15:57:16 gsoares Exp $
|
2007-09-21 17:45:43 +00:00
|
|
|
|
|
|
|
COMMENT= command-line podcast downloader
|
|
|
|
|
2020-06-21 15:57:16 +00:00
|
|
|
DISTNAME= castget-2.0.1
|
2007-09-21 17:45:43 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2020-06-21 15:57:16 +00:00
|
|
|
HOMEPAGE= https://castget.johndal.com/
|
2007-09-21 17:45:43 +00:00
|
|
|
|
2009-02-16 15:28:57 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH:=castget/}
|
2007-09-21 17:45:43 +00:00
|
|
|
|
2020-06-21 15:57:16 +00:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= Caspar Schutijser <caspar@schutijser.com>
|
2007-09-21 17:45:43 +00:00
|
|
|
|
|
|
|
# GPLv2
|
2019-07-12 20:48:23 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2007-09-21 17:45:43 +00:00
|
|
|
|
2019-05-23 20:44:24 +00:00
|
|
|
WANTLIB += c crypto curl glib-2.0 iconv id3 intl lzma m nghttp2 pcre pthread
|
|
|
|
WANTLIB += ssl xml2 z
|
2007-09-21 17:45:43 +00:00
|
|
|
|
2018-10-24 14:27:57 +00:00
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
|
2010-11-19 22:31:32 +00:00
|
|
|
LIB_DEPENDS= audio/id3lib \
|
|
|
|
devel/glib2 \
|
|
|
|
net/curl \
|
|
|
|
textproc/libxml
|
2007-09-21 17:45:43 +00:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-lm -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/castget
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/castgetrc.example \
|
|
|
|
${PREFIX}/share/examples/castget
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|