openbsd-ports/games/eboard-extras/Makefile

43 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.14 2019/07/12 21:02:20 sthen Exp $
COMMENT= eboard extra piece sets and sounds
PKGNAME= ${DISTNAME}-0.1
REVISION = 0
DISTNAME= eboard-extras
DISTFILES= ${DISTNAME}-1pl2${EXTRACT_SUFX} \
${DISTNAME}-2${EXTRACT_SUFX}
CATEGORIES= games x11
HOMEPAGE= http://www.bergo.eng.br/eboard/
PERMIT_PACKAGE= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=eboard/}
RUN_DEPENDS= games/eboard
NO_BUILD= Yes
NO_TEST= Yes
PKG_ARCH= *
do-install:
$(INSTALL_DATA_DIR) $(PREFIX)/share/eboard
$(INSTALL_DATA_DIR) $(PREFIX)/share/doc/eboard
cd ${WRKDIR}/${DISTNAME}-1pl2 && { \
$(INSTALL_DATA) *.png *.wav $(PREFIX)/share/eboard; \
$(INSTALL_DATA) extras1.conf \
$(PREFIX)/share/eboard/themeconf.extras1; \
$(INSTALL_DATA) CREDITS \
$(PREFIX)/share/doc/eboard/CREDITS.1; \
}
cd ${WRKDIR}/${DISTNAME}-2 && { \
$(INSTALL_DATA) *.png *.wav $(PREFIX)/share/eboard; \
$(INSTALL_DATA) extras2.conf \
$(PREFIX)/share/eboard/themeconf.extras2; \
$(INSTALL_DATA) CREDITS \
$(PREFIX)/share/doc/eboard/CREDITS.2; \
}
.include <bsd.port.mk>