27 lines
662 B
Makefile
27 lines
662 B
Makefile
# $NetBSD: Makefile,v 1.14 2009/05/20 23:06:26 zafer Exp $
|
|
|
|
DISTNAME= cd-discid_0.9.orig
|
|
PKGNAME= cd-discid-0.9
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_GENTOO:=distfiles/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Read CD to obtain CDDB discid information
|
|
|
|
NOT_FOR_PLATFORM= Interix-*-*
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${CC} -O -o cd-discid cd-discid.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cd-discid ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/cd-discid.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|