FreeBSD Bugzilla – Attachment 37192 Details for
Bug 59313
[patch] Update to graphics/jpgtn port
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Makefile.diff
Makefile.diff (text/plain), 1.27 KB, created by
Soulburner
on 2003-11-16 00:20:11 UTC
(
hide
)
Description:
Makefile.diff
Filename:
MIME Type:
Creator:
Soulburner
Created:
2003-11-16 00:20:11 UTC
Size:
1.27 KB
patch
obsolete
>--- Makefile.old Sat Nov 15 15:43:51 2003 >+++ Makefile Sat Nov 15 15:37:20 2003 >@@ -7,6 +7,7 @@ > > PORTNAME= jpgtn > PORTVERSION= 1.04 >+PORTREVISION= 1 > CATEGORIES= graphics > MASTER_SITES= ${MASTER_SITE_SUNSITE} > MASTER_SITE_SUBDIR= apps/graphics/misc >@@ -17,5 +18,28 @@ > LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg > > MAN1= jpgtn.1 >+USE_REINPLACE= yes >+ >+pre-everything:: >+ @${ECHO_MSG} "===>" >+ @${ECHO_MSG} "===> You can control program functionality by defining the following variables:" >+ @${ECHO_MSG} "===>" >+.if !defined(WITH_MAXSIZE) >+ @${ECHO_MSG} "===> Define WITH_MAXSIZE to set the maximum allowable thumbnail size" >+.endif >+.if !defined(WITH_MINSIZE) >+ @${ECHO_MSG} "===> Define WITH_MINSIZE to set the minimum allowable thumbnail size" >+.endif >+ @${ECHO_MSG} "===>" >+ >+post-patch: >+.if defined(WITH_MAXSIZE) >+ @${REINPLACE_CMD} "s/define MAXSIZE[[:blank:]]*256/define MAXSIZE ${WITH_MAXSIZE}/" ${WRKSRC}/jpgtn.h >+ @${REINPLACE_CMD} "s/allowable range (24-256)/allowable range (24-${WITH_MAXSIZE})/" ${WRKSRC}/jpgtn.1 >+.endif >+.if defined(WITH_MINSIZE) >+ @${REINPLACE_CMD} "s/define MINSIZE[[:blank:]]*24/define MINSIZE ${WITH_MINSIZE}/" ${WRKSRC}/jpgtn.h >+ @${REINPLACE_CMD} "s/allowable range (24-)/allowable range (${WITH_MINSIZE}-/" ${WRKSRC}/jpgtn.1 >+.endif > > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 59313
: 37192