openbsd-ports/audio/ascd/Makefile

47 lines
1.3 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.12 2005/09/05 11:20:53 espie Exp $
# $FreeBSD: ports/audio/ascd/Makefile,v 1.17 2000/09/25 12:21:17 asami Exp $
2003-04-10 14:08:56 -04:00
COMMENT= "cd player for Afterstep or Window Maker"
DISTNAME= ascd-0.13.2
PKGNAME= ${DISTNAME}p0
CATEGORIES= audio x11 x11/windowmaker
HOMEPAGE= http://worldserver.oleane.com/rsn/ascd-en.html
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-11-21 12:51:44 -05:00
WANTLIB= X11 Xext Xpm c
MASTER_SITES= http://worldserver.oleane.com/rsn/Archives/
DISTFILES= ${DISTNAME}-src.tgz ${DATAFILES}
DATAFILES= ascd-0.13pr6-themes.tgz
LIB_DEPENDS= workman.1::audio/libworkman
USE_X11= Yes
2001-10-25 18:34:48 -04:00
NO_REGRESS= Yes
CONFIGURE_STYLE= imake
post-extract:
@rm -rf ${WRKSRC}/workman
post-patch:
@sed -e "s:%%PREFIX%%:${PREFIX}:g" \
${WRKSRC}/misc/config.h.default > ${WRKSRC}/config.h
@sed -e "s:%%PREFIX%%:${PREFIX}:g" \
${WRKSRC}/misc/dirs.h.default > ${WRKSRC}/dirs.h
@cat ${WRKSRC}/version.h >> ${WRKSRC}/config.h
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/AScd
tar xfC ${WRKSRC}/themes/default.tar ${PREFIX}/share/AScd/
tar xfC ${WRKSRC}/themes/themes.tar ${PREFIX}/share/AScd/
tar xfC ${WRKDIR}/ascd-0.13pr6-themes/themes.tar ${PREFIX}/share/AScd/Themes
.include <bsd.port.mk>