openbsd-ports/audio/p5-gnupod/Makefile
sthen 89bd457672 fixes from Brad;
- Missing dependencies.
- Using wrong commandline options for modern FFmpeg.
- ImageMagick check broken since it wasn't checking the
  correct return code.
2011-06-01 00:04:16 +00:00

52 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.11 2011/06/01 00:04:16 sthen Exp $
COMMENT = collection of perl scripts to manage your iPod
DISTNAME = gnupod-0.99.8
PKGNAME = p5-${DISTNAME}
REVISION = 2
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/faac \
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>