Lines 14-24
Link Here
|
14 |
LICENSE= MIT |
14 |
LICENSE= MIT |
15 |
|
15 |
|
16 |
USE_BZIP2= yes |
16 |
USE_BZIP2= yes |
|
|
17 |
USES= pkgconfig |
18 |
USE_GNOME= gtk20 |
17 |
HAS_CONFIGURE= yes |
19 |
HAS_CONFIGURE= yes |
18 |
CONFIGURE_ARGS= --prefix=${PREFIX} |
20 |
CONFIGURE_ARGS= --prefix=${PREFIX} |
19 |
USE_GMAKE= yes |
21 |
USE_GMAKE= yes |
20 |
USE_GNOME= gtk20 |
|
|
21 |
USES= pkgconfig |
22 |
|
22 |
|
23 |
MAN1= ${PORTNAME}.1 |
23 |
MAN1= ${PORTNAME}.1 |
24 |
|
24 |
|
Lines 27-54
Link Here
|
27 |
OPTIONS_DEFINE= DOCS |
27 |
OPTIONS_DEFINE= DOCS |
28 |
|
28 |
|
29 |
DESKTOP_ENTRIES="${PORTNAME}" "${PORTNAME} NETWM compliant X11 desktop panel" \ |
29 |
DESKTOP_ENTRIES="${PORTNAME}" "${PORTNAME} NETWM compliant X11 desktop panel" \ |
30 |
"${PREFIX}/share/pixmaps/${PORTNAME}.png" \ |
30 |
"${PORTNAME}" "${PORTNAME}" "System;" false |
31 |
"${PORTNAME}" "System;" false |
|
|
32 |
|
31 |
|
33 |
.include <bsd.port.options.mk> |
32 |
.include <bsd.port.options.mk> |
34 |
|
33 |
|
35 |
.if ${PORT_OPTIONS:MDOCS} |
|
|
36 |
PLIST_SUB+= PORTDOCS="" |
37 |
.else |
38 |
PLIST_SUB+= PORTDOCS="@comment " |
39 |
.endif |
40 |
|
41 |
post-patch: |
34 |
post-patch: |
42 |
@${REINPLACE_CMD} -e 's|bash|sh|' ${WRKSRC}/scripts/install.sh |
35 |
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/scripts/install.sh |
43 |
@${REINPLACE_CMD} -e 's|@DATADIR@|${DATADIR}|' \ |
36 |
@${REINPLACE_CMD} -e 's|@DATADIR@|${DATADIR}|' \ |
44 |
${WRKSRC}/data/man/${MAN1}.in |
37 |
${WRKSRC}/data/man/${MAN1}.in |
45 |
|
38 |
|
46 |
post-install: |
39 |
post-install: |
47 |
${INSTALL_MAN} ${WRKSRC}/data/man/${MAN1} ${MAN1PREFIX}/man/man1/ |
40 |
${INSTALL_MAN} ${WRKSRC}/data/man/${MAN1} ${MAN1PREFIX}/man/man1 |
48 |
${LN} -sf ${DATADIR}/images/logo.png ${PREFIX}/share/pixmaps/${PORTNAME}.png |
41 |
${LN} -sf ${DATADIR}/images/logo.png ${PREFIX}/share/pixmaps/${PORTNAME}.png |
49 |
|
42 |
|
50 |
.if ${PORT_OPTIONS:MDOCS} |
43 |
.if ${PORT_OPTIONS:MDOCS} |
51 |
${MKDIR} ${DOCSDIR} |
44 |
@${MKDIR} ${DOCSDIR} |
52 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} |
45 |
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} |
53 |
.endif |
46 |
.endif |
54 |
|
47 |
|