pkgsrc/audio/id3v2/Makefile

30 lines
856 B
Makefile

# $NetBSD: Makefile,v 1.26 2014/10/09 14:05:56 wiz Exp $
DISTNAME= id3v2-0.1.12
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=id3v2/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://id3v2.sourceforge.net/
COMMENT= Command line editor for id3v2 tags
LICENSE= gnu-lgpl-v2.1
USE_LANGUAGES= c++
USE_TOOLS+= gmake
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/id3v2
post-configure:
# clean up inappropriate stuff left in the distribution archive
cd ${WRKSRC}; rm -f id3v2 *.o
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/id3v2 ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/id3v2.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/README \
${DESTDIR}${PREFIX}/share/doc/id3v2/README
.include "../../converters/libiconv/buildlink3.mk"
.include "../../audio/id3lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"