Lines 28-62
Link Here
|
28 |
ALL_TARGET= World |
28 |
ALL_TARGET= World |
29 |
SUB_FILES= pkg-message |
29 |
SUB_FILES= pkg-message |
30 |
|
30 |
|
31 |
X11BASE2FIX= clients/olwm/screen.c clients/olwmslave/help_file.c \ |
|
|
32 |
lib/libxview/help/help_file.c lib/libxview/misc/gettext.h \ |
33 |
lib/libxview/textsw/txt_e_menu.c |
34 |
|
35 |
MAN1= xview.1 |
31 |
MAN1= xview.1 |
36 |
|
32 |
|
|
|
33 |
X11BASE2FIX= clients/olwmslave/help_file.c lib/libxview/help/help_file.c \ |
34 |
lib/libxview/misc/gettext.h lib/libxview/textsw/txt_e_menu.c |
35 |
|
37 |
.include <bsd.port.pre.mk> |
36 |
.include <bsd.port.pre.mk> |
38 |
|
37 |
|
39 |
post-patch: |
38 |
pre-configure: |
40 |
@${REINPLACE_CMD} -e 's+/usr/X11R6+${PREFIX}+;' \ |
39 |
@${REINPLACE_CMD} -e 's+/usr/local+${PREFIX}+;' \ |
41 |
${WRKSRC}/config/XView.cf |
40 |
${WRKSRC}/config/XView.cf |
42 |
@${REINPLACE_CMD} -e "s,CcCmd cc,CcCmd ${CC}," \ |
41 |
@${REINPLACE_CMD} -e "s,CcCmd cc,CcCmd ${CC}," \ |
43 |
${WRKSRC}/config/XView.tmpl |
42 |
${WRKSRC}/config/XView.tmpl |
44 |
@${REINPLACE_CMD} -e 's+/usr/X11/+${X11BASE}/+g;' \ |
43 |
@${REINPLACE_CMD} -e 's+/usr/X11/+${X11BASE}/+g;' \ |
45 |
${WRKSRC}/clients/olwm/screen.c |
44 |
${WRKSRC}/clients/olwm/screen.c |
46 |
@${REINPLACE_CMD} -e 's+/usr/lib+${PREFIX}/lib+g;' \ |
45 |
${REINPLACE_CMD} -e 's+/usr/lib+${PREFIX}/lib+' \ |
47 |
${WRKSRC}/clients/olwmslave/help_file.c \ |
46 |
${X11BASE2FIX:C|^|${WRKSRC}/|} |
48 |
${WRKSRC}/lib/libxview/help/help_file.c \ |
|
|
49 |
${WRKSRC}/lib/libxview/misc/gettext.h \ |
50 |
${WRKSRC}/lib/libxview/textsw/txt_e_menu.c |
51 |
@${REINPLACE_CMD} -e "s,^MSG_UTIL,#MSG_UTIL," \ |
47 |
@${REINPLACE_CMD} -e "s,^MSG_UTIL,#MSG_UTIL," \ |
52 |
${WRKSRC}/util/Imakefile |
48 |
${WRKSRC}/util/Imakefile |
53 |
|
|
|
54 |
pre-configure: |
55 |
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \ |
49 |
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \ |
56 |
's|^#endif.*$$|#endif|;s|^#else.*$$|#else|;\ |
50 |
's|^#endif.*$$|#endif|;s|^#else.*$$|#else|;\ |
57 |
s|^/\*\*/#*|XCOMM |' |
51 |
s|^/\*\*/#*|XCOMM |' |
58 |
${REINPLACE_CMD} -e 's+/usr/X11R6+${X11BASE}+' \ |
|
|
59 |
${X11BASE2FIX:C|^|${WRKSRC}/|} |
60 |
|
52 |
|
61 |
post-install: |
53 |
post-install: |
62 |
.if !defined{NOPORTDOCS} |
54 |
.if !defined{NOPORTDOCS} |