1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/emulators/linux-padjoy/Makefile
Boris Samorodov 0263b9d868 Welcome to the new linux ports infrastructure which allows using
both current (fc4) and future linux (f8) distributions at one
ports tree.

The patch contains full changes to ports/Mk files and all ports involved.
But only infrastructure is changed. The resulting packages are the same as
before. Hence no need to bump PORTREVISIONs.

The idea was taken from bsd.gnome.mk and others.

More than 130 ports are switched to follow a new linux infrastructure
introduced by changes to bsd.port.mk, bsd.linux-rpm.mk and a new
bsd.linux-apps.mk.

Thanks for all who was involved and helped me with this work.
And help from Alexander Leidinger was incredible.

Other changes are coming. Stay tuned!

PR:		ports/132510
Submitted by:	bsam (me)
Exp-run by:	portmgr (pav)
2009-03-19 17:28:51 +00:00

52 lines
1.2 KiB
Makefile

# 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
PORTREVISION= 1
CATEGORIES= emulators linux
MASTER_SITES= http://members.chello.at/erich.kitzmueller/ammoq/
PKGNAMEPREFIX= linux-
DISTNAME= padJoy${MAJOR}${MINOR}${MICRO}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A PSEmu Pro joystick plugin (Linux version)
RUN_DEPENDS= /boot/modules/linux_js.ko:${PORTSDIR}/devel/linux-js
WRKSRC= ${WRKDIR}/padJoy
NO_BUILD= yes
USE_LINUX= yes
USE_LINUX_APPS= gtk xorglibs
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>