Lines 17-58
Link Here
|
17 |
LIB_DEPENDS= gtop-2.0:${PORTSDIR}/devel/libgtop2 |
17 |
LIB_DEPENDS= gtop-2.0:${PORTSDIR}/devel/libgtop2 |
18 |
RUN_DEPENDS= ${LOCALBASE}/sbin/setiathome:${PORTSDIR}/astro/setiathome |
18 |
RUN_DEPENDS= ${LOCALBASE}/sbin/setiathome:${PORTSDIR}/astro/setiathome |
19 |
|
19 |
|
20 |
USE_REINPLACE= yes |
|
|
21 |
USE_X_PREFIX= yes |
20 |
USE_X_PREFIX= yes |
|
|
21 |
USE_GNOME= gnomehack gnomepanel gnomeprefix |
22 |
USE_REINPLACE= yes |
22 |
USE_GMAKE= yes |
23 |
USE_GMAKE= yes |
23 |
USE_GNOME= gnomeprefix gnomehack gnomepanel |
24 |
USE_LIBTOOL_VER= 15 |
24 |
USE_LIBTOOL_VER=13 |
|
|
25 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
25 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
26 |
LDFLAGS="-L${LOCALBASE}/lib" |
26 |
LDFLAGS="-L${LOCALBASE}/lib" |
27 |
|
27 |
|
28 |
# Local variables |
28 |
GCONF_SCHEMAS= seti_applet.schemas |
29 |
# |
|
|
30 |
|
31 |
MSG_FILE= ${PKGDIR}/pkg-message |
32 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
33 |
|
34 |
REINPLACE_SUB= LOCALBASE=${LOCALBASE} |
35 |
PKGMESSAGE_SUB= LOCALBASE=${LOCALBASE} |
36 |
|
29 |
|
37 |
# Post-patch |
30 |
SUB_FILES= pkg-message |
38 |
# |
|
|
39 |
|
31 |
|
40 |
post-patch: patch-seti_applet patch-pkgmessage |
32 |
post-patch: |
41 |
|
33 |
@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \ |
42 |
patch-seti_applet: |
|
|
43 |
@${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ |
44 |
${WRKSRC}/src/seti_applet.schemas |
34 |
${WRKSRC}/src/seti_applet.schemas |
45 |
|
35 |
|
46 |
patch-pkgmessage: |
36 |
post-install: |
47 |
@${SED} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ |
|
|
48 |
${MSG_FILE} > ${PKGMESSAGE} |
49 |
|
50 |
# Post-install |
51 |
# |
52 |
|
53 |
post-install: display-message |
54 |
|
55 |
display-message: |
56 |
@${CAT} ${PKGMESSAGE} |
37 |
@${CAT} ${PKGMESSAGE} |
57 |
|
38 |
|
58 |
.include <bsd.port.mk> |
39 |
.include <bsd.port.mk> |