1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/audio/replay/Makefile
Yukihiro Nakai 597430141a Some fix about MASTER_SITES, LIB_DEPENDS, I18N support, CC/CFLAGS.
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
1999-12-27 08:20:40 +00:00

50 lines
1.1 KiB
Makefile

# New ports collection makefile for: replay
# Version required: 0.61
# Date created: Oct 27 1998
# Whom: Vanilla Pooh Shu <vanilla@FreeBSD.org>
#
# $FreeBSD$
#
DISTNAME= replay-source-dgtk_0.61
PKGNAME= replay-0.61
CATEGORIES= audio
MASTER_SITES= ftp://ftp.replicant.nu/pub/replay/ \
ftp://ftp.icemark.ch/pub/replay/ \
ftp://k2.lund.se/pub/replay/
MAINTAINER= nakai@FreeBSD.org
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
esd.2:${PORTSDIR}/audio/esound
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
.if defined(USE_I18N)
CONFIGURE_ARGS+= --enable-i18n=JAPANESE
.endif
pre-configure:
.if !defined(USE_I18N)
@${ECHO_MSG}
@${ECHO_MSG} "If you would like build replay with I18N support"
@${ECHO_MSG} "you must set the variable USE_I18N"
@${ECHO_MSG} "(Now JAPANESE only)"
@${ECHO_MSG}
.else
@${ECHO_MSG}
@${ECHO_MSG} "Building replay with I18N support"
@${ECHO_MSG}
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/replay ${PREFIX}/bin
.include <bsd.port.mk>