mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
b5904e66ec
PR:31299 Submitted by: Ports Fury
42 lines
903 B
Makefile
42 lines
903 B
Makefile
# New ports collection makefile for: xsidplay
|
|
# Date created: 28 November 1999
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xsidplay
|
|
PORTVERSION= 1.6.2.1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= audio emulators
|
|
MASTER_SITES= http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/packages/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
LIB_DEPENDS= sidplay.1:${PORTSDIR}/audio/libsidplay
|
|
|
|
USE_QT_VER= 2
|
|
USE_GMAKE= yes
|
|
USE_LIBTOOL= yes
|
|
CONFIGURE_ARGS= --with-qt-binaries=${X11BASE}/bin
|
|
QTCPPFLAGS+= ${PTHREAD_CFLAGS}
|
|
QTCFGLIBS+= ${PTHREAD_LIBS}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
CFLAGS+= -O0
|
|
.endif
|
|
|
|
pre-patch:
|
|
.for file in configure src/Makefile.in
|
|
@${PERL} -pi -e 's|moc|${MOC:T}|g ; \
|
|
s|qt-mt|${QTNAME}-mt|g' ${WRKSRC}/${file}
|
|
.endfor
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/xsidplay ${PREFIX}/bin
|
|
|
|
.include <bsd.port.post.mk>
|