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

(-)rarcrack/Makefile (-1 / +2 lines)
Lines 9-15 Link Here
9
MASTER_SITES=	SF
9
MASTER_SITES=	SF
10
10
11
MAINTAINER=	jadawin@tuxaco.net
11
MAINTAINER=	jadawin@tuxaco.net
12
COMMENT=	 It's try to guess your encrypted compressed file's password
12
COMMENT=	Rarcrack guesses the passwords of encrypted RAR, ZIP, and 7Z archives
13
13
14
RUN_DEPENDS=	p7zip:${PORTSDIR}/archivers/p7zip \
14
RUN_DEPENDS=	p7zip:${PORTSDIR}/archivers/p7zip \
15
		unrar:${PORTSDIR}/archivers/unrar \
15
		unrar:${PORTSDIR}/archivers/unrar \
Lines 19-24 Link Here
19
PLIST_FILES=	bin/rarcrack
19
PLIST_FILES=	bin/rarcrack
20
PORTDOCS=	README
20
PORTDOCS=	README
21
USE_GNOME=	libxml2
21
USE_GNOME=	libxml2
22
MAKE_ENV+=	PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
22
23
23
do-install:
24
do-install:
24
	${INSTALL_PROGRAM} ${WRKSRC}/rarcrack ${PREFIX}/bin
25
	${INSTALL_PROGRAM} ${WRKSRC}/rarcrack ${PREFIX}/bin
(-)rarcrack/files/patch-Makefile (+13 lines)
Line 0 Link Here
1
--- Makefile.orig	2008-03-06 16:07:47.515693827 -0500
2
+++ Makefile	2008-03-06 16:11:38.132897689 -0500
3
@@ -1,9 +1,5 @@
4
-CC=gcc
5
-PREFIX=/usr
6
-DOCDIR=${PREFIX}/share/doc/rarcrack
7
-
8
 all:
9
-	${CC} -pthread rarcrack.c `xml2-config --libs --cflags` -O2 -o rarcrack
10
+	${CC} rarcrack.c `xml2-config --libs --cflags` ${CFLAGS} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -o rarcrack
11
 clean:
12
 	-rm *.o rarcrack
13
 install:

Return to bug 121450