2006-04-13 11:16:23 +02:00
|
|
|
# New ports collection makefile for: linux-padjoy
|
|
|
|
# Date created: 13 Apr 2006
|
|
|
|
# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= padjoy
|
|
|
|
PORTVERSION= 0.8.1
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2006-04-13 11:16:23 +02:00
|
|
|
CATEGORIES= emulators linux
|
|
|
|
MASTER_SITES= http://members.chello.at/erich.kitzmueller/ammoq/
|
|
|
|
PKGNAMEPREFIX= linux-
|
|
|
|
DISTNAME= padJoy${MAJOR}${MINOR}${MICRO}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2008-04-29 07:11:44 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-04-13 11:16:23 +02:00
|
|
|
COMMENT= A PSEmu Pro joystick plugin (Linux version)
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk \
|
|
|
|
/boot/modules/linux_js.ko:${PORTSDIR}/devel/linux-js
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/padJoy
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_LINUX= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XLIB= yes
|
2006-04-13 11:16:23 +02:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
|
|
|
|
MAJOR= ${PORTVERSION:R:R}
|
|
|
|
MINOR= ${PORTVERSION:R:E}
|
|
|
|
MICRO= ${PORTVERSION:E}
|
|
|
|
PLIST_SUB= MAJOR=${MAJOR} MINOR=${MINOR}
|
|
|
|
|
|
|
|
PSEMUPRO_PLUGINS_DIR= ${PREFIX}/lib/psemupro/plugins
|
|
|
|
PSEMUPRO_CFGBINS_DIR= ${PREFIX}/libexec/psemupro/cfg
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${MKDIR} ${PSEMUPRO_PLUGINS_DIR}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/libpadJoy-${MAJOR}.${MINOR}.so ${PSEMUPRO_PLUGINS_DIR}
|
|
|
|
|
|
|
|
${MKDIR} ${PSEMUPRO_CFGBINS_DIR}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/cfgPadJoy ${PSEMUPRO_CFGBINS_DIR}
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|