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> |