1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/audio/wmtune/Makefile

36 lines
843 B
Makefile
Raw Normal View History

# New ports collection makefile for: wmtune
# Version required: 1.0
# Date created: 28 September 1999
# Whom: Chris D. Faulhaber <jedgar@fxp.org>
#
# $FreeBSD$
#
DISTNAME= wmtune-1.0
CATEGORIES= audio windowmaker
MASTER_SITES= http://www.soren.org/linux/wmtune/dl/ \
http://www.rostock.zgdv.de/~runge/radio/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
wmtune.diff.gz
MAINTAINER= jedgar@FreeBSD.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
USE_GMAKE= yes
USE_X_PREFIX= yes
PATCH_ARGS =-p0 -d ${WRKDIR}
post-patch:
@${GUNZIP_CMD} -c ${DISTDIR}/wmtune.diff.gz | ${PATCH} ${PATCH_ARGS}
@${PERL} -pi.orig -e 's|/etc|${PREFIX}/etc|' wmtune.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmtune ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/sample.wmtunerc ${PREFIX}/etc
.include <bsd.port.mk>