View | Details | Raw Unified | Return to bug 46431
Collapse All | Expand All

(-)deskutils/tuxcards/Makefile (-21 / +21 lines)
Lines 6-39 Link Here
6
#
6
#
7
7
8
PORTNAME=	tuxcards
8
PORTNAME=	tuxcards
9
PORTVERSION=	0.8
9
PORTVERSION=	1.0.b2.1
10
PORTREVISION=	1
11
CATEGORIES=	deskutils
10
CATEGORIES=	deskutils
12
MASTER_SITES=	http://www.arved.de/bsd/src/
11
MASTER_SITES=	http://www.stud.uni-karlsruhe.de/~ut3c/ \
13
DISTNAME=	${PORTNAME}-${PORTVERSION}-ohneCactus
12
		http://www.arved.de/bsd/src/
13
DISTNAME=	${PORTNAME}-${PORTVERSION:R:S/.b/beta/}_${PORTVERSION:E}
14
14
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
16
17
WRKSRC=		${WRKDIR}/${PORTNAME}
17
WRKSRC=		${WRKDIR}/${PORTNAME}
18
USE_GMAKE=	yes
18
19
USE_QT_VER=	2
19
QTDIR?=		${X11BASE}
20
HAS_CONFIGURE=	yes
20
21
CONFIGURE_ARGS=	--prefix=${PREFIX}
21
USE_QT_VER=	3
22
USE_REINPLACE=	yes
22
USE_REINPLACE=	yes
23
MAKE_ENV=	QTDIR="${QTDIR}"
23
24
24
.include <bsd.port.pre.mk>
25
post-patch:
26
	@${REINPLACE_CMD} -e 's|warn_on|warn_on thread|g' ${WRKSRC}/tuxcards.pro
25
27
26
.if ${OSVERSION} > 500038
28
do-configure:
27
BROKEN=		"Does not build with gcc 3.1"
29
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \
30
		-spec ${X11BASE}/mkspecs/freebsd-g++ tuxcards.pro
31
32
do-install:
33
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
34
.if !defined(NOPORTDOCS)
35
	@${MKDIR} ${DOCSDIR}
36
	${INSTALL_DATA} ${WRKSRC}/docs/en/*.* ${DOCSDIR}
28
.endif
37
.endif
29
38
30
pre-patch:
39
.include <bsd.port.mk>
31
	@${REINPLACE_CMD} -e 's|[$$](prefix)/doc|\$$\(prefix\)/share/doc|' \
32
		${WRKSRC}/tuxcards/docs/en/Makefile.in
33
	@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
34
.ifdef(NOPORTDOCS)
35
	@${REINPLACE_CMD} -e 's|install-data-am\: install-data-local||' \
36
		${WRKSRC}/tuxcards/docs/en/Makefile.in
37
.endif #NOPORTDOCS
38
39
.include <bsd.port.post.mk>
(-)deskutils/tuxcards/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (tuxcards-0.8-ohneCactus.tar.gz) = d83c5ff630fececca3975724facc8d65
1
MD5 (tuxcards-1.0beta2_1.tar.gz) = 473dbff9accbceb8222f91c7c10f758f
(-)deskutils/tuxcards/pkg-plist (+12 lines)
Lines 1-4 Link Here
1
bin/tuxcards
1
bin/tuxcards
2
%%PORTDOCS%%share/doc/tuxcards/TuxCardsBunt.gif
3
%%PORTDOCS%%share/doc/tuxcards/addKnoten.gif
4
%%PORTDOCS%%share/doc/tuxcards/changeProberty.gif
5
%%PORTDOCS%%share/doc/tuxcards/deleteKnoten.gif
2
%%PORTDOCS%%share/doc/tuxcards/index-1.html
6
%%PORTDOCS%%share/doc/tuxcards/index-1.html
3
%%PORTDOCS%%share/doc/tuxcards/index-2.html
7
%%PORTDOCS%%share/doc/tuxcards/index-2.html
4
%%PORTDOCS%%share/doc/tuxcards/index-3.html
8
%%PORTDOCS%%share/doc/tuxcards/index-3.html
Lines 6-9 Link Here
6
%%PORTDOCS%%share/doc/tuxcards/index-5.html
10
%%PORTDOCS%%share/doc/tuxcards/index-5.html
7
%%PORTDOCS%%share/doc/tuxcards/index-6.html
11
%%PORTDOCS%%share/doc/tuxcards/index-6.html
8
%%PORTDOCS%%share/doc/tuxcards/index.html
12
%%PORTDOCS%%share/doc/tuxcards/index.html
13
%%PORTDOCS%%share/doc/tuxcards/index.nif
14
%%PORTDOCS%%share/doc/tuxcards/index.sgml
15
%%PORTDOCS%%share/doc/tuxcards/logotp3.png
16
%%PORTDOCS%%share/doc/tuxcards/new.gif
17
%%PORTDOCS%%share/doc/tuxcards/open.gif
18
%%PORTDOCS%%share/doc/tuxcards/save.gif
19
%%PORTDOCS%%share/doc/tuxcards/search.gif
20
%%PORTDOCS%%share/doc/tuxcards/whatis.gif
9
%%PORTDOCS%%@dirrm share/doc/tuxcards
21
%%PORTDOCS%%@dirrm share/doc/tuxcards

Return to bug 46431