mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
fdf6141925
Feature safe: yes
39 lines
906 B
Makefile
39 lines
906 B
Makefile
# New ports collection makefile for: modplugplay
|
|
# Date created: 3 February 2004
|
|
# Whom: Emanuel Haupt <ehaupt@critical.ch>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= modplugplay
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://gnu.ethz.ch/linuks.mine.nu/modplugplay/ \
|
|
http://critical.ch/distfiles/ \
|
|
http://energy.critical.ch/distfiles/
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= A commandline music mod player using libmodplug
|
|
|
|
LIB_DEPENDS= modplug.1:${PORTSDIR}/audio/libmodplug
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
LICENSE= GPLv2
|
|
MAN1= modplugplay.1
|
|
PLIST_FILES= bin/modplugplay
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include/libmodplug -L${LOCALBASE}/lib
|
|
LDFLAGS+= -lmodplug
|
|
|
|
do-build:
|
|
${CXX} ${WRKSRC}/${PORTNAME}.c ${CFLAGS} ${LDFLAGS} \
|
|
-o ${WRKSRC}/${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|