aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/dore/Makefile
blob: f042d71d932380f6e00a04cca2c887078cc7575d (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
# New ports collection makefile for:    dore
# Date created:     10 February 1995
# Whom:         jkh
#
# $FreeBSD$
#

PORTNAME=   pdore
PORTVERSION=    6.0
CATEGORIES= graphics
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= asami/LOCAL_PORTS
EXTRACT_SUFX=   .tar.Z

MAINTAINER= ports@FreeBSD.org

USE_REINPLACE=  yes
USE_GMAKE=  yes
USE_X_PREFIX=   yes
WRKSRC=     ${WRKDIR}/dore
EXTRACT_CMD=    ${MKDIR} ${WRKSRC}; cd ${WRKSRC}; ${GZIP_CMD}
MAKEFILE=   mk.stdx
MAKE_ENV=   DORE_LOC=${WRKDIR}

post-extract:
    @${MKDIR} ${WRKSRC}/lib

post-patch:
    @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/subsys/*.c

pre-install:
    @${MKDIR} ${PREFIX}/share/dore

.include <bsd.port.mk>