1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/audio/discid/Makefile
Baptiste Daroussin afa7205c43 Support staging
2013-11-24 19:27:20 +00:00

28 lines
620 B
Makefile

# Created by: Oliver Breuninger <ob@breuninger.org>
# $FreeBSD$
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>