60945f0277
the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine)
58 lines
1.9 KiB
Makefile
58 lines
1.9 KiB
Makefile
# Created by: Leland Wang <llwang@infor.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= noegnud
|
|
PORTVERSION= 0.8.3
|
|
PORTREVISION= 12
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.darkarts.co.za/projects/noegnud/downloads/${PORTVERSION}/:noegnud \
|
|
SF/slashem/slashem-source/0.0.6E4F8:slashem
|
|
PKGNAMESUFFIX= -slashem
|
|
DISTFILES= ${DISTNAME}_linux_src-minimal${EXTRACT_SUFX}:noegnud \
|
|
se006e4f8.tar.gz:slashem
|
|
EXTRACT_ONLY= ${DISTNAME}_linux_src-minimal${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= The noeGNUd UI for the SLASH'EM variant of Nethack
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/${NOEGNUDVERSION}/data/gui:${PORTSDIR}/games/noegnud-data
|
|
|
|
NOEGNUDVERSION= ${PORTNAME}-0.8.0
|
|
USES= bison gmake tar:bzip2
|
|
USE_GL= yes
|
|
WANT_SDL= yes
|
|
USE_SDL= sdl image mixer
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/variants
|
|
PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
ALL_TARGET= se006e4f8
|
|
INSTALL_TARGET= install_se006e4f8
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-everything::
|
|
.if ${HAVE_SDL}
|
|
@${ECHO_MSG} "This port depends on SDL with OpenGL support."
|
|
@${ECHO_MSG} "If your SDL does not support OpenGL, hit ^C now and reinstall SDL"
|
|
@${ECHO_MSG} "with OpenGL support turned on."
|
|
.endif
|
|
|
|
post-extract:
|
|
@${CP} ${DISTDIR}/se006e4f8.tar.gz ${WRKSRC}/tarballs
|
|
(cd ${WRKSRC} && ${MAKE} slashem-0.0.6E4F8)
|
|
|
|
post-patch:
|
|
(cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-slashem-0.0.6E4F8)
|
|
@(${PATCH} ${PATCH_ARGS} < ${FILESDIR}/noegnud-slashem.patch)
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
|
|
-e 's|make|${MAKE_CMD}|' ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -E -e 's,ch(grp|own),true,' \
|
|
-e '/(^FILE_AREA|^VARDIR|ln -s|sed)/! s,(GAME|SHELL|VAR)DIR),DESTDIR)$$(&,g' \
|
|
-e '/sed/! s,FILE_AREA_(BONES|DOC|LEVL|SAVE|SHARE|UNSHARE|VAR)),DESTDIR)$$(&,g' \
|
|
-e '/ln -s/ s,SHELLDIR,DESTDIR)$$(&,2' \
|
|
${WRKSRC}/${NOEGNUDVERSION}-slashem-0.0.6E4F8/sys/unix/Makefile.top
|
|
|
|
do-configure:
|
|
(cd ${WRKSRC} && ${MAKE} ${NOEGNUDVERSION}-slashem-0.0.6E4F8/Makefile)
|
|
|
|
.include <bsd.port.post.mk>
|