mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
e244b8bccc
${MACHINE_ARCH}--freebsd${OSREL} is now passed to CONFIGURE_ARGS if GNU_CONFIGURE is defined. Take the target out of CONFIGURE_ARGS of some ports that added it explicitly; define it as ${MACHINE_ARCH}--freebsd if the port doesn't like the ${OSREL} part; define it as something else (such as ${MACHINE_ARCH}--freebsdelf if the port requires that; define it as an empty string if the port doesn't like it at all. The last might be a sign that a GNU_CONFIGURE port actually doesn't use GNU's version of configure at all; but I don't have time to go look at them all, we'll fix them as time goes on. At least we've got much fewer "-unknown-"s in the tree as the result. :)
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# New ports collection makefile for: GNU emacs with dl
|
|
# Version required: 20.3
|
|
# Date created: 10 October 1998
|
|
# Whom: shige
|
|
#
|
|
# $Id: Makefile,v 1.6 1999/03/01 09:17:43 shige Exp $
|
|
#
|
|
|
|
DISTNAME= emacs-20.3
|
|
PKGNAME= emacs-dl-20.3
|
|
CATEGORIES= editors
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= emacs
|
|
|
|
PATCH_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/emacs-20-dl/
|
|
PATCHFILES= emacs-20.3-dl.diff
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
MAINTAINER= shige@FreeBSD.ORG
|
|
|
|
RUN_DEPENDS= emacs-20.3:${PORTSDIR}/editors/emacs20
|
|
|
|
USE_AUTOCONF= yes
|
|
USE_XLIB= yes
|
|
USE_GMAKE= yes
|
|
MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
|
|
EMACS_VER= 20.3
|
|
CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd
|
|
CONFIGURE_ARGS= ${EMACS_ARCH} --with-x-toolkit --with-pop
|
|
PLIST_SUB= EMACS_VER=${EMACS_VER} EMACS_ARCH=${CONFIGURE_TARGET}
|
|
|
|
.if defined(USE_XPGLIB)
|
|
.if (${USE_XPGLIB} == "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>
|