aboutsummaryrefslogtreecommitdiff
path: root/games/macopix/Makefile
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2019-02-01 14:57:36 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2019-02-01 14:57:36 +0000
commitaa7be5bb5a4f0558943c337b8637f73486db2ec1 (patch)
treeee061dc82ffde6b13f9769f4ae411942c3462c80 /games/macopix/Makefile
parent32f505d7faeb561b6b54aab506c3fb4e3f1df686 (diff)
downloadports-aa7be5bb5a4f0558943c337b8637f73486db2ec1.tar.gz
ports-aa7be5bb5a4f0558943c337b8637f73486db2ec1.zip
games/macopix: Remove GTK1 option
x11-toolkits/gtk12 is gone since r488008. Convert to options helpers too while here.
Notes
Notes: svn path=/head/; revision=491822
Diffstat (limited to 'games/macopix/Makefile')
-rw-r--r--games/macopix/Makefile27
1 files changed, 5 insertions, 22 deletions
diff --git a/games/macopix/Makefile b/games/macopix/Makefile
index 07cf09ff79a8..f26a6766bcb3 100644
--- a/games/macopix/Makefile
+++ b/games/macopix/Makefile
@@ -3,7 +3,7 @@
PORTNAME= macopix
PORTVERSION= 1.7.4
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= games
MASTER_SITES= http://rosegray.sakura.ne.jp/macopix/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${RESTRICTED_FILES}
@@ -34,39 +34,22 @@ RESTRICTED_FILES= \
macopix-mascot-marimite-euc-ja-2.20.tar.gz \
macopix-mascot-HxB-euc-ja-0.30.tar.gz
-USES= gettext gmake iconv jpeg libtool pkgconfig
+USES= gettext gmake gnome iconv jpeg libtool pkgconfig
+USE_GNOME= gtk20
USE_XORG= x11
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lX11 ${ICONV_LIB}
-OPTIONS_DEFINE= DOCS GNUTLS GTK1
+OPTIONS_DEFINE= DOCS GNUTLS
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_CONFIGURE_ON= --with-gnutls
-
-GTK1_USE= GNOME=gtk12,gdkpixbuf
-GTK1_CONFIGURE_ON= --with-gtk1
-
-.include <bsd.port.options.mk>
-
-.if ! ${PORT_OPTIONS:MGNUTLS}
-USES+= ssl
-.endif
-
-.if ${PORT_OPTIONS:MGTK1}
-PKGNAMESUFFIX= -gtk1
-.else
-USE_GNOME+= gtk20
-.endif
+GNUTLS_USES_OFF= ssl
post-patch:
@${REINPLACE_CMD} -e 's/_MAIL } MailStatus/_MAIL } MailStatus2/' ${WRKSRC}/src/main.h
-.if ${PORT_OPTIONS:MGTK1}
- @${REINPLACE_CMD} 's|png_ptr->jmpbuf|png_jmpbuf(png_ptr)|' \
- ${WRKSRC}/src/nokkari.c
-.endif
post-install:
# install mascot file