aboutsummaryrefslogtreecommitdiffstats
path: root/cad/electric/Makefile
blob: 490ea60c2ee34a6abf8f591b88d04600d6929706 (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
# New ports collection makefile for:    electric
# Date created:     4 May 2000
# Whom:         Mario S F Ferreira <lioux@linf.unb.br> et al.
#
# $FreeBSD$
#

PORTNAME=   electric
PORTVERSION=    5.7.4
CATEGORIES= cad
MASTER_SITES=   ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= lioux@FreeBSD.org

USE_XLIB=   yes
USE_MOTIF=  yes
EXTRA_PATCHES=  ${WRKDIR}/patch-prefix
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
MAKE_ENV+=  X11BASE="${X11BASE}" HACK_INSTALL_DIR="${INSTALL_DIR}"

INSTALL_DIR=    ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755

pre-patch:
    ${SED} "s!PREFIX!${PREFIX}!g" ${FILESDIR}/template-patch-prefix > ${EXTRA_PATCHES}

.include <bsd.port.mk>