openbsd-ports/x11/mterm/Makefile

36 lines
846 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.2 2004/05/28 21:42:50 naddy Exp $
COMMENT= "dockable program launcher"
DISTNAME= mterm-0.4.2b
CATEGORIES= x11
HOMEPAGE= http://mterm.sourceforge.net/
MAINTAINER= Nick Nauwelaerts <nick@nauwelaerts.net>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mterm/}
USE_X11= Yes
NO_REGRESS= Yes
ALL_TARGET= mterm
MAKE_FLAGS= CC="${CC}" FLAGS="${CFLAGS}" \
INCLUDES="-I${X11BASE}/include" \
LIB_DIRS="-L${X11BASE}/lib"
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/mterm ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/mterm.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mterm
${INSTALL_DATA} ${WRKSRC}/mtermrc.example \
${PREFIX}/share/examples/mterm/dot.mtermrc
.include <bsd.port.mk>