openbsd-ports/audio/ascd/Makefile
naddy 1e474f48e1 remove Peter Stromberg as maintainer:
"I haven't used any of those ports myself for a long time, so I think it's
best you remove me as maintainer."
2012-12-13 16:34:47 +00:00

46 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.25 2012/12/13 16:34:47 naddy Exp $
COMMENT= cd player for Afterstep or Window Maker
DISTNAME= ascd-0.13.2
REVISION= 4
CATEGORIES= audio x11 x11/windowmaker
HOMEPAGE= http://worldserver.oleane.com/rsn/ascd-en.html
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xau Xdmcp Xext Xpm c workman>=1
MASTER_SITES= http://spacehopper.org/mirrors/
#MASTER_SITES= http://worldserver.oleane.com/rsn/Archives/
DISTFILES= ${DISTNAME}-src.tgz ${DATAFILES}
DATAFILES= ascd-0.13pr6-themes.tgz
LIB_DEPENDS= audio/libworkman
USE_GROFF = Yes
NO_REGRESS= Yes
CONFIGURE_STYLE= imake
post-extract:
@rm -rf ${WRKSRC}/workman
pre-configure:
@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>