1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/cad/electric/Makefile
Satoshi Asami 7112ba2b40 Change motif to a normal dependency. REQUIRES_MOTIF is now called
USE_MOTIF and generates a LIB_DEPENDS to x11-toolkits/open-motif.  As
before, it implies USE_XPM (and therefore USE_XLIB).  Motif-dummy is
removed from PKG_IGNORE_DEPENDS, whose sole resident is now XFree86-3.

Most of the simple ".if defined(HAVE_MOTIF)"s are removed to always
have USE_MOTIF.  ftp/moxftp will define USE_MOTIF unless
WANT_ATHENA_VERSION (new variable) is defined.  I merged the X cases
in cad/mars, so USE_MOTIF is used iff WITHOUT_X11 is not defined.

I will remove x11-toolkits/Motif-dummy (which has been repo copied to
open-motif) in a few days.
2000-11-07 23:28:20 +00:00

29 lines
649 B
Makefile

# 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>