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

(-)xv/Makefile (-16 / +18 lines)
Lines 14-20 Link Here
14
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
14
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
15
		xv310a-jp-extension-rev5.3.3.tar.gz \
15
		xv310a-jp-extension-rev5.3.3.tar.gz \
16
		croppad.patch grabpatch jp-ext-bzip2.patch longname.patch \
16
		croppad.patch grabpatch jp-ext-bzip2.patch longname.patch \
17
		mp-tiff-patch pdf.patch png-1.2d-fix.patch png-1.2d.patch
17
		mp-tiff-patch pdf.patch png-1.2d-fix.patch xv-png-1.2d.patch
18
DIST_SUBDIR=	xv
18
DIST_SUBDIR=	xv
19
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX} \
19
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX} \
20
		xv310a-jp-extension-rev5.3.3.tar.gz
20
		xv310a-jp-extension-rev5.3.3.tar.gz
Lines 29-35 Link Here
29
		png.2:${PORTSDIR}/graphics/png
29
		png.2:${PORTSDIR}/graphics/png
30
30
31
USE_IMAKE=	yes
31
USE_IMAKE=	yes
32
.if !defined(NOMAN)
32
MAN1=		bggen.1 vdcomp.1 xcmap.1 xv.1 xvpictoppm.1
33
MAN1=		bggen.1 vdcomp.1 xcmap.1 xv.1 xvpictoppm.1
34
.endif
33
35
34
XVDIST=		${DISTDIR}/${DIST_SUBDIR}
36
XVDIST=		${DISTDIR}/${DIST_SUBDIR}
35
37
Lines 42-67 Link Here
42
	@${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/longname.patch
44
	@${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/longname.patch
43
	@${PATCH} ${PATCH_ARGS} -p0 < ${XVDIST}/mp-tiff-patch
45
	@${PATCH} ${PATCH_ARGS} -p0 < ${XVDIST}/mp-tiff-patch
44
	@${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/pdf.patch
46
	@${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/pdf.patch
45
	@${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/png-1.2d.patch
47
	@${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/xv-png-1.2d.patch
46
	@${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/png-1.2d-fix.patch
48
	@${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/png-1.2d-fix.patch
47
	@${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/jp-ext-bzip2.patch
49
	@${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/jp-ext-bzip2.patch
48
50
49
post-install:
51
post-install:
50
.if !defined(NOPORTDOCS)
52
.if !defined(NOPORTDOCS)
51
	${MKDIR} ${PREFIX}/share/doc/xv
53
	@${MKDIR} ${PREFIX}/share/doc/xv
52
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xv
54
	@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xv
53
	${INSTALL_DATA} ${WRKSRC}/README.PNG ${PREFIX}/share/doc/xv
55
	@${INSTALL_DATA} ${WRKSRC}/README.PNG ${PREFIX}/share/doc/xv
54
	${INSTALL_DATA} ${WRKSRC}/docs/epsf.ps ${PREFIX}/share/doc/xv
56
	@${INSTALL_DATA} ${WRKSRC}/docs/epsf.ps ${PREFIX}/share/doc/xv
55
	${INSTALL_DATA} ${WRKSRC}/docs/xpm.ps ${PREFIX}/share/doc/xv
57
	@${INSTALL_DATA} ${WRKSRC}/docs/xpm.ps ${PREFIX}/share/doc/xv
56
	${INSTALL_DATA} ${WRKSRC}/docs/xvdocs.ps ${PREFIX}/share/doc/xv
58
	@${INSTALL_DATA} ${WRKSRC}/docs/xvdocs.ps ${PREFIX}/share/doc/xv
57
	${INSTALL_DATA} ${WRKSRC}/docs/xvtitle.ps ${PREFIX}/share/doc/xv
59
	@${INSTALL_DATA} ${WRKSRC}/docs/xvtitle.ps ${PREFIX}/share/doc/xv
58
	${INSTALL_DATA} ${WRKSRC}/docs/help ${PREFIX}/share/doc/xv
60
	@${INSTALL_DATA} ${WRKSRC}/docs/help ${PREFIX}/share/doc/xv
59
	${INSTALL_DATA} ${WRKSRC}/docs/bmp.doc ${PREFIX}/share/doc/xv
61
	@${INSTALL_DATA} ${WRKSRC}/docs/bmp.doc ${PREFIX}/share/doc/xv
60
	${INSTALL_DATA} ${WRKSRC}/docs/gif* ${PREFIX}/share/doc/xv
62
	@${INSTALL_DATA} ${WRKSRC}/docs/gif* ${PREFIX}/share/doc/xv
61
	${INSTALL_DATA} ${WRKSRC}/../xv-jp-extension/CHANGELOG.* ${PREFIX}/share/doc/xv
63
	@${INSTALL_DATA} ${WRKSRC}/../xv-jp-extension/CHANGELOG.* ${PREFIX}/share/doc/xv
62
	${INSTALL_DATA} ${WRKSRC}/../xv-jp-extension/README.PhotoCD ${PREFIX}/share/doc/xv
64
	@${INSTALL_DATA} ${WRKSRC}/../xv-jp-extension/README.PhotoCD ${PREFIX}/share/doc/xv
63
	${INSTALL_DATA} ${WRKSRC}/../xv-jp-extension/README.xv310a-ext-5.3.3 ${PREFIX}/share/doc/xv/README.xv310a-ext-5.3.3.ja
65
	@${INSTALL_DATA} ${WRKSRC}/../xv-jp-extension/README.xv310a-ext-5.3.3 ${PREFIX}/share/doc/xv/README.xv310a-ext-5.3.3.ja
64
	${INSTALL_DATA} ${WRKSRC}/../xv-jp-extension/magic.add ${PREFIX}/share/doc/xv
66
	@${INSTALL_DATA} ${WRKSRC}/../xv-jp-extension/magic.add ${PREFIX}/share/doc/xv
65
.endif
67
.endif
66
68
67
.include <bsd.port.mk>
69
.include <bsd.port.mk>
(-)xv/files/md5 (-1 / +1 lines)
Lines 7-12 Link Here
7
MD5 (xv/mp-tiff-patch) = 012a8562ed300db3174cfee95b13d18c
7
MD5 (xv/mp-tiff-patch) = 012a8562ed300db3174cfee95b13d18c
8
MD5 (xv/pdf.patch) = 3c8806b4ce221f268f1cc257201ca0b7
8
MD5 (xv/pdf.patch) = 3c8806b4ce221f268f1cc257201ca0b7
9
MD5 (xv/png-1.2d-fix.patch) = 672f2f82c94828d91b6929ed87139937
9
MD5 (xv/png-1.2d-fix.patch) = 672f2f82c94828d91b6929ed87139937
10
MD5 (xv/png-1.2d.patch) = 8c2126618f1f9925fbb60499581d58c5
10
MD5 (xv/xv-png-1.2d.patch) = 37a80e90ee07c94010af8a128f98788d
11
MD5 (xv/xv-3.10a.JPEG-patch) = bd3ac79fa805319f583ccd382bdc825d
11
MD5 (xv/xv-3.10a.JPEG-patch) = bd3ac79fa805319f583ccd382bdc825d
12
MD5 (xv/xv-3.10a.TIFF-patch) = 305f2f0273368bb6e029c3f212a14249
12
MD5 (xv/xv-3.10a.TIFF-patch) = 305f2f0273368bb6e029c3f212a14249
(-)xv/patches/patch-ac (-2 / +11 lines)
Lines 51-56 Link Here
51
 
51
 
52
 
52
 
53
 /***************************************************************************
53
 /***************************************************************************
54
@@ -216,7 +216,7 @@
55
  * 'undef' to 'define' in the following line.
56
  */
57
 
58
-#undef TV_L10N
59
+/* #undef TV_L10N */
60
 
61
 #ifdef TV_L10N
62
 /*
54
@@ -259,7 +259,7 @@
63
@@ -259,7 +259,7 @@
55
  * magic number or suffix in "~/.xv_mgcsfx" .
64
  * magic number or suffix in "~/.xv_mgcsfx" .
56
  * To enable this feature, change 'undef' to 'define' in the following line.
65
  * To enable this feature, change 'undef' to 'define' in the following line.
Lines 77-88 Link Here
77
 /* #    define MGCSFX_PREPROCESSOR "cc -E" */
86
 /* #    define MGCSFX_PREPROCESSOR "cc -E" */
78
 
87
 
79
 #  endif /* USE_MGCSFX_PREPROCESSOR */
88
 #  endif /* USE_MGCSFX_PREPROCESSOR */
80
@@ -320,7 +320,7 @@
89
@@ -325,7 +325,7 @@
81
  * 'undef' to 'define' in the following line.
90
  * 'undef' to 'define' in the following line.
82
  */
91
  */
83
 
92
 
84
-#undef TV_MULTILINGUAL
93
-#undef TV_MULTILINGUAL
85
+#define TV_MULTILINGUAL
94
+/* #undef TV_MULTILINGUAL */
86
 
95
 
87
 #define TV_DEFAULT_CODESET TV_EUC_JAPAN
96
 #define TV_DEFAULT_CODESET TV_EUC_JAPAN
88
 
97
 
(-)xv/patches/patch-ad (-3 / +8 lines)
Lines 1-5 Link Here
1
--- Imakefile.orig	Thu Aug 27 04:53:33 1998
1
--- Imakefile.orig	Wed Oct  7 22:24:59 1998
2
+++ Imakefile	Thu Aug 27 04:54:22 1998
2
+++ Imakefile	Wed Oct  7 22:27:00 1998
3
@@ -6,13 +6,15 @@
3
@@ -6,13 +6,15 @@
4
 /* if, for whatever reason, you're unable to get the JPEG library to compile
4
 /* if, for whatever reason, you're unable to get the JPEG library to compile
5
  * on your machine, *COMMENT OUT* the following line
5
  * on your machine, *COMMENT OUT* the following line
Lines 49-55 Link Here
49
 #ifdef HavePDS
49
 #ifdef HavePDS
50
 PDS = -DDOPDS
50
 PDS = -DDOPDS
51
 #endif
51
 #endif
52
@@ -149,8 +165,8 @@
52
@@ -149,12 +165,12 @@
53
 #endif
53
 #endif
54
 
54
 
55
 
55
 
Lines 60-65 Link Here
60
 
60
 
61
 DEFINES= $(SCO) $(UNIX) $(NODIRENT) $(VPRINTF) $(TIMERS) \
61
 DEFINES= $(SCO) $(UNIX) $(NODIRENT) $(VPRINTF) $(TIMERS) \
62
 	$(HPUX7) $(JPEG) $(TIFF) $(PDS) $(DXWM) $(RAND) \
62
 	$(HPUX7) $(JPEG) $(TIFF) $(PDS) $(DXWM) $(RAND) \
63
-	$(BACKING_STORE) $(BSDTYPES) $(SGI) $(MGCSFX)
64
+	$(BACKING_STORE) $(BSDTYPES) $(SGI) $(MGCSFX) $(LOCALE_EXTENSION)
65
 
66
 INCLUDES = $(JPEGINCLUDE) $(TIFFINCLUDE)
67
 
63
@@ -254,10 +270,10 @@
68
@@ -254,10 +270,10 @@
64
 #endif
69
 #endif

Return to bug 8185