freebsd-ports/audio/discid/Makefile
2021-04-06 16:31:07 +02:00

26 lines
608 B
Makefile

# Created by: Oliver Breuninger <ob@breuninger.org>
PORTNAME= discid
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://jeremy.zawodny.com/c/discid/
DISTNAME= ${PORTNAME}-freebsd-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Identify audio cd in your drive
WRKSRC= ${WRKDIR}/freebsd
PLIST_FILES= bin/discid
post-patch:
@${REINPLACE_CMD} -e 's|^void main|int main|' ${WRKSRC}/${PORTNAME}.c
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>