correct packing list for 20.2 and all supported architectures
make sure a package can be generated and the installed package is correct. Remove attempt at updating dir -- emacs install always clobbers the existing dir and the texinfo files do not have the required info to be processed by install-info
This commit is contained in:
parent
f23e861e93
commit
e8842a2b99
@ -3,14 +3,14 @@
|
||||
# Date created: 14 Nov 1997
|
||||
# Whom: ejovi
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.3 1997/12/04 07:22:46 niklas Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 1998/03/29 07:35:28 marc Exp $
|
||||
#
|
||||
|
||||
DISTNAME= emacs-20.2
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= ftp://prep.ai.mit.edu/pub/gnu/
|
||||
|
||||
MAINTAINER= joey@OpenBSD.ORG
|
||||
MAINTAINER= ports@OpenBSD.ORG
|
||||
|
||||
WRKSRC= ${WRKDIR}/emacs-20.2
|
||||
GNU_CONFIGURE= yes
|
||||
@ -23,21 +23,21 @@ M_ARCH= mips
|
||||
.else
|
||||
M_ARCH= ${MACHINE_ARCH}
|
||||
.endif
|
||||
SYS_REL!= uname -r
|
||||
|
||||
GCCARCH= ${M_ARCH}-unknown-openbsd`uname -r`
|
||||
GCCARCH= ${M_ARCH}-unknown-openbsd${SYS_REL}
|
||||
CONFIGURE_ARGS= ${GCCARCH} --with-x-toolkit
|
||||
STRIP=
|
||||
MAN1= emacs.1 etags.1 ctags.1
|
||||
|
||||
pre-install pre-package:
|
||||
@${RM} -f ${PKGDIR}/PLIST
|
||||
@${SED} -e 's/||CONFIG||/${GCCARCH}/' \
|
||||
${FILESDIR}/PLIST.template >${PKGDIR}/PLIST
|
||||
|
||||
post-install:
|
||||
.for file in emacs-20.2 emacsclient etags ctags b2m
|
||||
strip ${PREFIX}/bin/${file}
|
||||
.endfor
|
||||
if [ ! -f ${PREFIX}/info/dir ]; then \
|
||||
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
||||
fi
|
||||
.for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode
|
||||
install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
1314
editors/emacs/files/PLIST.template
Normal file
1314
editors/emacs/files/PLIST.template
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user