mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
f0a1969d34
is better studied o Turn PORTCOMMENT variable in Makefile back into pkg-comment files Approved by: kris (portmgr hat), portmgr, re (silence)
46 lines
957 B
Makefile
46 lines
957 B
Makefile
# New ports collection makefile for: xmp
|
|
# Date created: 18 September 1999
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xmp
|
|
PORTVERSION= 2.0.4
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
USE_REINPLACE= yes
|
|
USE_BZIP2= yes
|
|
USE_XLIB= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --disable-alsa
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" CFLAGS="-I${LOCALBASE}/include"
|
|
USE_AUTOCONF= yes
|
|
USE_GNOMENG= yes
|
|
WANT_GNOME= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} > 500013 || ${MACHINE_ARCH} == "alpha"
|
|
USE_GNOME+= esound
|
|
CONFIGURE_ARGS+= --disable-oss --enable-esd
|
|
PKGNAMESUFFIX= -esound
|
|
.elif ${HAVE_GNOME:Mesound}!=""
|
|
USE_GNOME+= esound
|
|
CONFIGURE_ARGS+= --enable-esd
|
|
PKGNAMESUFFIX= -esound
|
|
.endif
|
|
|
|
MAN1= xmp.1
|
|
MLINKS= xmp.1 xxmp.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/docs/xmp.1
|
|
|
|
.include <bsd.port.post.mk>
|