audio/xmixer: Remove GTK1 option

gtk12 is gone
This commit is contained in:
Tobias Kortkamp 2019-01-08 13:06:00 +00:00
parent fa5970890f
commit 7e813799e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489678

View file

@ -3,7 +3,7 @@
PORTNAME= xmixer
PORTVERSION= 0.9.4
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= audio
MASTER_SITES= http://mpx.freeshell.net/
@ -13,24 +13,13 @@ COMMENT= Audio mixer (gtk and Xlib) for X11R6
WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
ALL_TARGET= ${PROGRAMS}
ALL_TARGET= xmixer
PLIST_FILES= bin/xmixer \
man/man1/xmixer.1.gz
OPTIONS_DEFINE= GTK1
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGTK1}
USE_GNOME+= gtk12
PROGRAMS= xmixer xgmixer
PLIST_FILES+= bin/xgmixer
.else
USE_XORG= x11 xt ice xaw
PROGRAMS= xmixer
USE_XORG= x11 xt ice xaw xmu sm
LDFLAGS+= -L${LOCALBASE}/lib -lX11
.endif
post-patch:
@${GREP} -lR "rxvt -e" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
@ -41,9 +30,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|<getopt\.h>|<unistd.h>|g' ${WRKSRC}/main.c
do-install:
.for file in ${PROGRAMS}
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin/${file}
.endfor
${INSTALL_PROGRAM} ${WRKSRC}/xmixer ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xmixer.man ${STAGEDIR}${MAN1PREFIX}/man/man1/xmixer.1
.include <bsd.port.mk>