Use standard ports tree substitution mechanisms,

adapt to recent formatting changes (CONFIGURE_STYLE)

Set MAINTAINER.
This commit is contained in:
espie 2000-07-21 18:13:58 +00:00
parent 1413330534
commit 300de2f141
3 changed files with 1416 additions and 1425 deletions

View File

@ -1,15 +1,15 @@
# $OpenBSD: Makefile,v 1.19 2000/07/21 05:33:03 marc Exp $
# $OpenBSD: Makefile,v 1.20 2000/07/21 18:13:58 espie Exp $
VER= 20.7
DISTNAME= emacs-${VER}
CATEGORIES= editors
NEED_VERSION= 1.218
NEED_VERSION= 1.317
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= emacs
MAINTAINER= ports@OpenBSD.ORG
MAINTAINER= xenophon@irtnog.org
LICENSE_TYPE= GPL
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
@ -17,10 +17,8 @@ PERMIT_DISTFILES_FTP= Yes
FLAVORS= no_X11
HAS_CONFIGURE= Yes
CONFIGURE_ARGS=--prefix='$${DESTDIR}${PREFIX}' --sysconfdir='$${DESTDIR}/etc'
CONFIGURE_STYLE= gnu dest
USE_GMAKE= Yes
FAKE= Yes
.if ${MACHINE} == "arc" || ${MACHINE} == "pmax" || ${MACHINE} == "wgrisc"
M_ARCH= mipsel
@ -31,6 +29,7 @@ M_ARCH= ${MACHINE_ARCH}
.endif
GCCARCH= ${M_ARCH}-unknown-openbsd${OPSYS_VER}
SUBST_VARS= GCCARCH VER
# Uncomment for POP support
#CONFIGURE_ARGS+=--with-pop
@ -57,14 +56,6 @@ STRIP_PROGS+= ${DISTNAME}
STRIP_EXECS= cvtmail digest-doc emacsserver fakemail hexl movemail \
profile sorted-doc yow
# Put generated PLIST into WRKDIR to avoid collisions in a shared ports tree.
PLIST= ${WRKDIR}/PLIST
pre-install pre-package:
@rm -f ${WRKDIR}/PLIST
@sed -e 's/||CONFIG||/${GCCARCH}/' \
${FILESDIR}/PLIST.template >${WRKDIR}/PLIST
post-install:
.for file in ${STRIP_PROGS}
strip ${PREFIX}/bin/${file}

File diff suppressed because it is too large Load Diff

1410
editors/emacs/pkg/PLIST Normal file

File diff suppressed because it is too large Load Diff