7112ba2b40
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.
28 lines
649 B
Makefile
28 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>
|