freebsd-ports/editors/emacs20-dl/Makefile
Michael Haro 65ab34a667 FreeBSD.ORG -> FreeBSD.org
Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
1999-08-31 06:53:31 +00:00

50 lines
1.1 KiB
Makefile

# New ports collection makefile for: GNU emacs with dl
# Version required: 20.4
# Date created: 10 October 1998
# Whom: shige
#
# $FreeBSD$
#
DISTNAME= emacs-20.4
PKGNAME= emacs-dl-20.4
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= emacs
PATCH_SITES= http://www.etl.go.jp/~tomo/comp/emacsen/
PATCHFILES= emacs-20.4-dl.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= shige@FreeBSD.org
RUN_DEPENDS= emacs-20.4:${PORTSDIR}/editors/emacs20
USE_AUTOCONF= yes
USE_GMAKE= yes
MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
EMACS_VER= 20.4
CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd
.if !defined(NO_X11)
CONFIGURE_ARGS= --with-x-toolkit --with-pop
USE_XLIB= yes
.else
CONFIGURE_ARGS= --with-x=no --with-pop
.endif
PLIST_SUB= EMACS_VER=${EMACS_VER} EMACS_ARCH=${CONFIGURE_TARGET}
.if defined(USE_XPG4)
.if (${USE_XPG4} == "YES" || ${USE_XPG4} == "yes")
CONFIGURE_ARGS+= --with-xpg4
.endif
.endif
pre-build:
@${RM} -rf ${WRKSRC}/info/*
do-install:
@${INSTALL} -c -s -m 555 -o root -g wheel ${WRKSRC}/src/emacs ${PREFIX}/bin/emacs-dl-${EMACS_VER}
.include <bsd.port.mk>