mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
bf66862b7a
Notified maintainer. Noticed by: portsurvey
66 lines
1.7 KiB
Makefile
66 lines
1.7 KiB
Makefile
# New ports collection makefile for: xsidplay
|
|
# Date created: 28 November 1999
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xsidplay
|
|
PORTVERSION= 1.6.4.3
|
|
PORTREVISION= 2
|
|
PORTEPOCH= 1
|
|
CATEGORIES= audio emulators
|
|
# version 1.6.4.3 isn't fetchable anymore, informed maintainer about
|
|
# version 1.6.5pre19 which is still there - edwin 20021227
|
|
MASTER_SITES= http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/packages/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= coop9211@uidaho.edu
|
|
|
|
.if defined(WITH_SIDPLAY2)
|
|
LIB_DEPENDS= sidplay2.0:${PORTSDIR}/audio/libsidplay2
|
|
.else
|
|
LIB_DEPENDS= sidplay.1:${PORTSDIR}/audio/libsidplay
|
|
.endif
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_QT_VER= 3
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-qt3 --with-qt-binaries=${X11BASE}/bin
|
|
.if defined(WITH_SIDPLAY2)
|
|
CONFIGURE_ARGS+= --with-sidplay2
|
|
.endif
|
|
QTCPPFLAGS+= ${PTHREAD_CFLAGS}
|
|
QTCFGLIBS+= ${PTHREAD_LIBS}
|
|
USE_REINPLACE= yes
|
|
|
|
MAN1= xsidplay.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
CFLAGS+= -O0
|
|
.endif
|
|
|
|
pre-patch:
|
|
.for file in configure src/Makefile.in
|
|
@${REINPLACE_CMD} -e 's|lib-mt|libqt-mt|g' ${WRKSRC}/${file}
|
|
.endfor
|
|
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}|g' ${WRKSRC}/xsidplay.1
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/share/pixmaps
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/xsidplay ${PREFIX}/bin
|
|
@${INSTALL_DATA} ${WRKSRC}/xsidplay.xpm ${PREFIX}/share/pixmaps
|
|
@${INSTALL_MAN} ${WRKSRC}/xsidplay.1 ${MANPREFIX}/man/man1
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/*.faq ${DOCSDIR}
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/example-sidtunes/*.sid ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|