blob: 662ecfa785b0396b9acc321f93ca205fc6ea7ce6 (
plain)
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
|
# New ports collection makefile for: qrash
# Date created: Oct 27, 1999
# Whom: Trevor Johnson <trevor@jpj.net>
#
# $FreeBSD$
#
PORTNAME= qrash
PORTVERSION= 1.0
CATEGORIES= x11
MASTER_SITES= http://qmg.org/files/demos/qmg/ \
ftp://qmg.org/pub/demos/qmg/ \
${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= X11/demos
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= trevor@FreeBSD.org
GNU_CONFIGURE= yes
ONLY_FOR_ARCHS= i386
USE_GMAKE= yes
USE_X_PREFIX= yes
ALL_TARGET= qrash
post-patch:
@${PERL} -pi -e "s=PREFIX=${PREFIX}=g" ${WRKSRC}/resource.cc
@${PERL} -pi -e "s=/usr/X11=${PREFIX}=g" ${WRKSRC}/configure
${FIND} ${WRKSRC} -type f -exec ${PERL} -pi -e \
"s:<malloc.h>:<stdlib.h>:g" {} \;
.include <bsd.port.mk>
|