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

(-)clive/Makefile (-19 / +15 lines)
Lines 6-16 Link Here
6
#
6
#
7
7
8
PORTNAME=	clive
8
PORTNAME=	clive
9
PORTVERSION=	2.1.5
9
PORTVERSION=	2.1.6
10
PORTREVISION=	0
11
CATEGORIES=	multimedia
10
CATEGORIES=	multimedia
12
MASTER_SITES=	GOOGLE_CODE \
11
MASTER_SITES=	GOOGLE_CODE
13
		SF
14
DIST_SUBDIR=	${PORTNAME}
12
DIST_SUBDIR=	${PORTNAME}
15
13
16
MAINTAINER=	legatvs@gmail.com
14
MAINTAINER=	legatvs@gmail.com
Lines 26-61 Link Here
26
# deskutils/ljclive, multimedia/clive1 (same executable/manpage/distfile name)
24
# deskutils/ljclive, multimedia/clive1 (same executable/manpage/distfile name)
27
CONFLICTS=	*clive-[0-1]*
25
CONFLICTS=	*clive-[0-1]*
28
26
29
NO_BUILD=	yes
27
OPTIONS=	PASTE   "Enable pasting from X clipboard" off \
28
		PAGER   "Enable pager for viewing cache entries" off \
29
		EXPECT  "Enable clivepass interface" off \
30
		MANPAGE "Install manual page" on
30
31
31
OPTIONS=	PASTE "Paste URLs from clipboard" off \
32
PLIST_FILES=	bin/clive
32
		CLIVEPASS "Enable login passwords" off \
33
		SHOW "Show cache entries" off
34
33
35
USE_BZIP2=	yes
34
USE_BZIP2=	yes
35
USE_GMAKE=	yes
36
USE_PERL5=	5.8.2+
36
USE_PERL5=	5.8.2+
37
37
38
do-install:
39
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
40
41
.if !defined(NO_INSTALL_MANPAGES)
42
MAN1=	${PORTNAME}.1
43
post-install:
44
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1/
45
.endif
46
47
.include <bsd.port.pre.mk>
38
.include <bsd.port.pre.mk>
48
39
49
.if defined(WITH_PASTE)
40
.if defined(WITH_PASTE)
50
RUN_DEPENDS+=	p5-Clipboard>=0.09:${PORTSDIR}/x11/p5-Clipboard
41
RUN_DEPENDS+=	p5-Clipboard>=0.09:${PORTSDIR}/x11/p5-Clipboard
51
.endif
42
.endif
52
43
53
.if defined(WITH_SHOW)
44
.if defined(WITH_PAGER)
54
RUN_DEPENDS+=	p5-IO-Pager-0.06:${PORTSDIR}/devel/p5-IO-Pager
45
RUN_DEPENDS+=	p5-IO-Pager-0.06:${PORTSDIR}/devel/p5-IO-Pager
55
.endif
46
.endif
56
47
57
.if defined(WITH_CLIVEPASS)
48
.if defined(WITH_EXPECT)
58
RUN_DEPENDS+=	p5-Expect>=1.21:${PORTSDIR}/lang/p5-Expect
49
RUN_DEPENDS+=	p5-Expect>=1.21:${PORTSDIR}/lang/p5-Expect
59
.endif
50
.endif
60
51
52
.if defined(WITH_MANPAGE)
53
MAKE_ENV=	WITH_MAN=yes
54
MAN1=		clive.1
55
.endif
56
61
.include <bsd.port.post.mk>
57
.include <bsd.port.post.mk>
(-)clive/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (clive/clive-2.1.5.tar.bz2) = 66ff6adc1664c75d58ce25e4c322c2cb
1
MD5 (clive/clive-2.1.6.tar.bz2) = 3cab75a76c0c44cdffeca93b75acc800
2
SHA256 (clive/clive-2.1.5.tar.bz2) = 388bc32bf505ca29f994da71282eebedf7043e7c293809e2fd9394d641c48b89
2
SHA256 (clive/clive-2.1.6.tar.bz2) = 4aec66d614339fdaed5437fc5868854252719731c60b471f9e26a8d4355c29fd
3
SIZE (clive/clive-2.1.5.tar.bz2) = 27739
3
SIZE (clive/clive-2.1.6.tar.bz2) = 27329
(-)clive/files/patch-Makefile (+34 lines)
Line 0 Link Here
1
--- Makefile.orig	2009-02-19 15:27:58.000000000 +0200
2
+++ Makefile	2009-02-19 15:31:01.000000000 +0200
3
@@ -1,26 +1,21 @@
4
 # GNU Makefile
5
 
6
-SHELL = /bin/sh
7
-
8
-prefix      = $(HOME)
9
+prefix      = $(PREFIX)
10
 bindir      = $(prefix)/bin
11
 datarootdir = $(prefix)/share
12
 datadir     = $(datarootdir)
13
-mandir      = $(datarootdir)/man
14
+mandir      = $(MANPREFIX)/man
15
 man1dir     = $(mandir)/man1
16
 
17
-INSTALL     = install -c
18
-INSTALL_D   = install -d
19
-INSTALL_M   = install -c -m 444
20
+INSTALL     = $(BSD_INSTALL_SCRIPT)
21
+INSTALL_D   = mkdir -p
22
+INSTALL_M   = $(BSD_INSTALL_MAN)
23
 RM          = rm -f
24
 PERL        = perl
25
 POD2MAN     = pod2man
26
 AWK         = awk
27
 TR          = tr
28
 
29
-WITH_MAN    = yes
30
-WITH_CHECK  = yes
31
-
32
 ifndef V
33
 QUIET_POD2MAN   = @echo POD2MAN clive.1;
34
 endif

Return to bug 131890