View | Details | Raw Unified | Return to bug 188889 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +5 lines)
Lines 1-5 Link Here
1
# Created by: Jordan DeLong <fracture@allusion.net>
1
# Created by: Jordan DeLong <fracture@allusion.net>
2
# $FreeBSD$
2
# $FreeBSD$
3
# $FreeBSD$
3
4
4
PORTNAME=	prboom
5
PORTNAME=	prboom
5
PORTVERSION=	2.5.0
6
PORTVERSION=	2.5.0
Lines 7-15 Link Here
7
CATEGORIES=	games
8
CATEGORIES=	games
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION}
9
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20stable/${PORTVERSION}
9
10
10
MAINTAINER=	ports@FreeBSD.org
11
MAINTAINER=	thiagohero501@gmail.com
11
COMMENT=	Multiplayer-capable and modified version of ID's classic DOOM game
12
COMMENT=	Multiplayer-capable and modified version of ID's classic DOOM game
12
13
14
LICENSE=	GPLv2
15
13
LIB_DEPENDS=	libsmpeg.so:${PORTSDIR}/multimedia/smpeg
16
LIB_DEPENDS=	libsmpeg.so:${PORTSDIR}/multimedia/smpeg
14
17
15
USES=		gmake
18
USES=		gmake
Lines 28-33 Link Here
28
OPENGL_CONFIGURE_ENABLE=	gl
31
OPENGL_CONFIGURE_ENABLE=	gl
29
OPENGL_USE=	GL=yes
32
OPENGL_USE=	GL=yes
30
33
31
.include "${.CURDIR}/../doom-data/Makefile.include"
34
.include "${.CURDIR}/Makefile.include"
32
35
33
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)Makefile.include (+24 lines)
Line 0 Link Here
1
# Makefile for defining variables used by other Doom related ports.
2
3
DMPKGNAMEPREFIX?=	doom-
4
DMDIR?=		${LOCALBASE}/share/doom
5
6
.if defined(PKGNAMEPREFIX) && ${PKGNAMEPREFIX} == ${DMPKGNAMEPREFIX} && defined(OPTIONSMKINCLUDED)
7
.  error include before <bsd.port.options.mk> if using DMPKGNAMEPREFIX
8
.endif
9
10
MAKE_ENV+=	DMDIR="${DMDIR}"
11
PLIST_SUB+=	DMDIR="${DMDIR:S/${LOCALBASE}\///}"
12
SUB_LIST+=	DMDIR="${DMDIR}"
13
14
.if defined(USE_CRLF)
15
.   if defined(USE_ZIP)
16
EXTRACT_BEFORE_ARGS=	-aqo
17
.   else
18
pre-patch:
19
	@${FIND} ${WRKDIR} -type f -print0 | \
20
		${XARGS} -0 ${FILE} | ${GREP} 'CRLF' | \
21
		${SED} -e "s/:.*//" | ${SED} -e 's/ /\\ /g' | \
22
		${XARGS} ${REINPLACE_CMD} -i "" -e "s/`${PRINTF} '\r'`$$//"
23
.   endif
24
.endif

Return to bug 188889