1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/emulators/linux-peops-spu/Makefile
Jean-Yves Lefort 6471766646 Add amd64 to ONLY_FOR_ARCHS
PR:		ports/92400
Submitted by:	Yuri Pankov <yuri.pankov@gmail.com>
2006-01-27 07:54:31 +00:00

57 lines
1.4 KiB
Makefile

# New ports collection makefile for: linux-peops-spu
# Date created: 21 Dec 2002
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#
PORTNAME= peops-spu
PORTVERSION= 1.9
PORTREVISION= 1
CATEGORIES= emulators linux
MASTER_SITES= http://www.pbernert.com/
PKGNAMEPREFIX= linux-
DISTNAME= spupeopsoss${MAJOR}0${MINOR}
MAINTAINER= jylefort@FreeBSD.org
COMMENT= A PSEmu Pro SPU plugin using the OSS interface (Linux version)
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_LINUX= yes
USE_X_PREFIX= yes
ONLY_FOR_ARCHS= i386 amd64
MAJOR= ${PORTVERSION:R}
MINOR= ${PORTVERSION:E}
PLIST_SUB+= MAJOR=${MAJOR} MINOR=${MINOR}
.include <bsd.port.pre.mk>
PSEMUPRO_PLUGINS_DIR= ${PREFIX}/lib/psemupro/plugins
PSEMUPRO_CFGBINS_DIR= ${PREFIX}/libexec/psemupro/cfg
PSEMUPRO_CFGFILES_DIR= ${PREFIX}/share/psemupro/cfg
do-install:
${MKDIR} ${PSEMUPRO_PLUGINS_DIR}
${INSTALL_PROGRAM} ${WRKSRC}/libspuPeopsOSS.so.${MAJOR}.0.${MINOR} ${PSEMUPRO_PLUGINS_DIR}
${MKDIR} ${PSEMUPRO_CFGBINS_DIR}
${INSTALL_PROGRAM} ${WRKSRC}/cfgPeopsOSS ${PSEMUPRO_CFGBINS_DIR}
${MKDIR} ${PSEMUPRO_CFGFILES_DIR}
${INSTALL_DATA} ${WRKSRC}/spuPeopsOSS.cfg ${PSEMUPRO_CFGFILES_DIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} \
${WRKSRC}/readme_${MAJOR}_${MINOR}.txt \
${WRKSRC}/version_${MAJOR}_${MINOR}.txt \
${DOCSDIR}
.endif
.include <bsd.port.post.mk>