freebsd-ports/emulators/xhomer/Makefile

38 lines
862 B
Makefile

# Created by: trasz
# $FreeBSD$
PORTNAME= xhomer
DISTVERSION= 9-16-06
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= emulators
MASTER_SITES= http://xhomer.isani.org/xhomer/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Emulator for the DEC Pro 350 computer
USE_GMAKE= yes
USE_XORG= xt sm ice xext x11
ALL_TARGET= clean xhomer
INSTALL_TARGET=
CFLAGS+= -Wall -ffloat-store
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
PLIST_FILES= bin/xhomer %%EXAMPLESDIR%%/xhomer.cfg
PLIST_DIRS= %%EXAMPLESDIR%%
PORTDOCS= README LICENSE SIMH
NO_STAGE= yes
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
${INSTALL_PROGRAM} ${WRKSRC}/xhomer ${PREFIX}/bin
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/xhomer.cfg ${EXAMPLESDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>