Lines 15-30
Link Here
|
15 |
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection |
15 |
BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection |
16 |
|
16 |
|
17 |
USE_BZIP2= yes |
17 |
USE_BZIP2= yes |
18 |
USE_GMAKE= yes |
|
|
19 |
USE_GNOME= gnomeprefix gnomehack intlhack glib20 ltverhack |
18 |
USE_GNOME= gnomeprefix gnomehack intlhack glib20 ltverhack |
20 |
USES= pkgconfig gettext |
19 |
USES= pkgconfig gettext gmake |
21 |
USE_AUTOTOOLS= libtool |
20 |
USE_AUTOTOOLS= libtool |
22 |
USE_PYTHON= 2 |
21 |
USE_PYTHON= 2 |
23 |
USE_LDCONFIG= yes |
22 |
USE_LDCONFIG= yes |
24 |
CPPFLAGS+= -I${LOCALBASE}/include |
23 |
CPPFLAGS+= -I${LOCALBASE}/include |
25 |
LDFLAGS+= -L${LOCALBASE}/lib |
24 |
LDFLAGS+= -L${LOCALBASE}/lib |
|
|
25 |
MAKE_ENV= GI_SCANNER_DISABLE_CACHE=yes |
26 |
|
26 |
|
27 |
NO_STAGE= yes |
|
|
28 |
post-patch: |
27 |
post-patch: |
29 |
@${REINPLACE_CMD} -e 's|applications.menu||' \ |
28 |
@${REINPLACE_CMD} -e 's|applications.menu||' \ |
30 |
${WRKSRC}/layout/Makefile.in |
29 |
${WRKSRC}/layout/Makefile.in |
Lines 42-49
Link Here
|
42 |
|
41 |
|
43 |
post-install: |
42 |
post-install: |
44 |
@${INSTALL_DATA} ${WRKSRC}/layout/applications.menu \ |
43 |
@${INSTALL_DATA} ${WRKSRC}/layout/applications.menu \ |
45 |
${PREFIX}/etc/xdg/menus/gnome-applications.menu |
44 |
${STAGEDIR}${PREFIX}/etc/xdg/menus/gnome-applications.menu |
46 |
@${INSTALL_DATA} ${WRKSRC}/KDE.directory \ |
45 |
@${INSTALL_DATA} ${WRKSRC}/KDE.directory \ |
47 |
${PREFIX}/share/desktop-directories |
46 |
${STAGEDIR}${PREFIX}/share/desktop-directories |
48 |
|
47 |
|
49 |
.include <bsd.port.mk> |
48 |
.include <bsd.port.mk> |