openbsd-ports/audio/p5-gnupod/Makefile
jasper 3bc35990ad - properly detect 'convert', it used to return '0' after --version,
but now it returns '1', which upset the test.

from brad
2012-06-13 11:12:06 +00:00

51 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2012/06/13 11:12:06 jasper Exp $
COMMENT = collection of perl scripts to manage your iPod
DISTNAME = gnupod-0.99.8
PKGNAME = p5-${DISTNAME}
REVISION = 4
CATEGORIES = audio
HOMEPAGE = http://www.gnu.org/software/gnupod/
MASTER_SITES = http://blinkenlights.ch/gnupod-dist/stable/ \
${MASTER_SITE_SAVANNAH:=gnupod/}
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
EXTRACT_SUFX = .tgz
MODULES = perl
CONFIGURE_STYLE =gnu
USE_GROFF = Yes
RUN_DEPENDS = security/p5-Digest-SHA1 \
textproc/p5-XML-Parser \
converters/p5-Unicode-String \
audio/p5-MP3-Info \
www/p5-libwww \
devel/p5-Time-TimeDate \
audio/p5-Audio-FLAC-Header \
audio/p5-Ogg-Vorbis-Header-PurePerl \
graphics/ffmpeg \
graphics/ImageMagick \
net/curl \
audio/flac \
audio/lame \
audio/vorbis-tools
BUILD_DEPENDS= ${RUN_DEPENDS}
NO_REGRESS = Yes
post-install:
gunzip ${PREFIX}/man/man1/*.1.gz
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnupod
${INSTALL_DATA} ${WRKSRC}/doc/gnupodrc.example \
${PREFIX}/share/examples/gnupod/gnupodrc
.include <bsd.port.mk>