openbsd-ports/net/epic4/Makefile
2004-02-25 02:35:04 +00:00

49 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.52 2004/02/25 02:35:04 brad Exp $
# $FreeBSD: Makefile,v 1.13 1999/03/01 16:18:30 mph Exp $
COMMENT= "(E)nhanced (P)rogrammable (I)RC-II (C)lient"
VERSION= 2.0
HELP_DATE= 20030114
DISTNAME= epic4-${VERSION}
CATEGORIES= net
MASTER_SITES= ftp://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/
DISTFILES= epic4-${VERSION}.tar.bz2 epic4-help-${HELP_DATE}.tar.gz
HOMEPAGE= http://www.epicsol.org/
MAINTAINER= Brad Smith <brad@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SUBST_VARS= VERSION
FAKE_FLAGS= IP="${WRKINST}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_DATA="${INSTALL_DATA}"
SEPARATE_BUILD= simple
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --without-perl --without-tcl
INSTALL_TARGET= install installhelp
NO_REGRESS= Yes
DOCS= README
post-extract:
@mv -f ${WRKDIR}/help ${WRKSRC}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/epic4
@cd ${PREFIX}/bin && mv -f epic-EPIC4-${VERSION} epic
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/epic4
@find ${PREFIX}/share/epic -name 'CVS' -print0 | xargs -0 rm -rf
.include <bsd.port.mk>