aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ascd/Makefile
blob: 8fcf4652bc8c1ebbe4739c18a96992337a2cd719 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    ascd
# Date created:         29 November 1998
# Whom:             Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   ascd
PORTVERSION=    0.13.2
CATEGORIES= audio afterstep windowmaker
MASTER_SITES=   http://worldserver.oleane.com/rsn/Archives/
DISTFILES=  ${DISTNAME}-src.tgz ${DATAFILES}

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    workman.1:${PORTSDIR}/audio/libworkman

USE_IMAKE=  yes
USE_XPM=    yes

DATAFILES=  ascd-0.13pr6-themes.tgz
THEMESDIR=  ascd-0.13pr6-themes

MAN1=       ascd.1

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:
    @${CP} ${FILESDIR}/install ${WRKDIR}/${THEMESDIR}
    @(cd ${WRKDIR}/${THEMESDIR} && ./install)

.include <bsd.port.mk>