- add missing SUPDISTFILES

- remove license type
- GNU_CONFIGURE -> CONFIGURE_STYLE
- add @comment with RCS id to PLIST
This commit is contained in:
brad 2000-08-19 01:47:54 +00:00
parent ee72b64e84
commit a39e9f497e
2 changed files with 10 additions and 12 deletions

View File

@ -1,27 +1,25 @@
# $OpenBSD: Makefile,v 1.8 2000/06/07 00:52:08 espie Exp $
# $OpenBSD: Makefile,v 1.9 2000/08/19 01:47:54 brad Exp $
#WITH_EDITLINE= yes
DISTNAME= rc-1.6
CATEGORIES= plan9 shells
NEED_VERSION= 1.121
NEED_VERSION= 1.310
MASTER_SITES= http://www.star.le.ac.uk/~tjg/rc/release/ \
ftp://ftp.sys.toronto.edu/pub/rc/
MASTER_SITES0= http://www.star.le.ac.uk/~tjg/rc/misc/
SUPDISTFILES= editline-1.5.tar.gz:0
MAINTAINER= markus@openbsd.org
LICENSE_TYPE= BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SEPARATE_BUILD= concurrent
GNU_CONFIGURE= Yes
CONFIGURE_ARGS+= --with-history
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-history
FLAVORS=readline editline
FLAVORS= readline editline
FLAVOR?=
.if defined(WITH_READLINE) && ${WITH_READLINE:U} == YES
@ -36,14 +34,13 @@ CONFIGURE_ARGS+= --with-readline
DISTFILES= ${DISTNAME}.tar.gz editline-1.5.tar.gz:0
EDITLINE= ${WRKSRC}/../editline
CONFIGURE_ARGS+= --with-editline
CONFIGURE_ENV+= LIBS="-L${EDITLINE}"
CONFIGURE_ENV= LIBS="-L${EDITLINE}"
.endif
pre-configure:
.if ${FLAVOR:L} == "editline"
pre-configure:
@echo "===> Compiling editline"
cd ${EDITLINE} && make
@cd ${EDITLINE} && ${MAKE_PROGRAM}
.endif
.include <bsd.port.mk>

View File

@ -1,3 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2000/08/19 01:47:55 brad Exp $
bin/rc
bin/-
bin/--