openbsd-ports/math/wmcalc/Makefile

31 lines
760 B
Makefile

# $OpenBSD: Makefile,v 1.8 2001/10/26 22:36:37 wilfried Exp $
COMMENT= 'wm-dockapp; simple four-function calculator'
DISTNAME= wmcalc-0.3
CATEGORIES= math x11 x11/windowmaker
NEED_VERSION= 1.482
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.sunet.se/pub/OpenBSD/distfiles/ \
ftp://ftp.dti.ad.jp/pub/OpenBSD/distfiles/
USE_X11= Yes
NO_REGRESS= Yes
SAMPLE_DIR= ${PREFIX}/share/examples/wmcalc
SUBST_VARS+= SAMPLE_DIR
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/wmcalc ${PREFIX}/bin
${INSTALL_DATA_DIR} ${SAMPLE_DIR}
${INSTALL_DATA} ${WRKSRC}/.wmcalc ${SAMPLE_DIR}/dot.wmcalc.sample
.include <bsd.port.mk>