diff options
Diffstat (limited to 'misc/nut/Makefile')
-rw-r--r-- | misc/nut/Makefile | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/misc/nut/Makefile b/misc/nut/Makefile index 0a87d4b6a913..04935a8cd992 100644 --- a/misc/nut/Makefile +++ b/misc/nut/Makefile @@ -1,6 +1,6 @@ PORTNAME= nut PORTVERSION= 20.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= misc MASTER_SITES= SF PKGNAMEPREFIX= health- @@ -26,16 +26,10 @@ FLTK_LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libfltk_images.so:x11-toolkits/fltk FLTK_USES= xorg -FLTK_USE= XORG=x11,xau,xcb,xdmcp,xext,xft,xinerama,xpm,xrender +FLTK_USE= XORG=x11,xau,xcb,xcursor,xdmcp,xext,xfixes,xft,xinerama,xpm,xrender FLTK_MAKE_ENV= HAVE_FLTK=1 FLTK_NUT="fltk/Nut" FLTK_MAKE_ENV_OFF= HAVE_FLTK=0 FLTK_NUT="" - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MFLTK} -DESKTOP_ENTRIES="Nut" "" "nuticon" "Nut" \ - "Science;Biology;MedicalSoftware;" false -.endif +FLTK_DESKTOP_ENTRIES= "Nut" "" "nuticon" "Nut" "Science;Biology;MedicalSoftware;" false post-patch: @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \ @@ -48,10 +42,6 @@ post-patch: s|$$(OPT)||' do-install: -.if ${PORT_OPTIONS:MFLTK} - ${INSTALL_PROGRAM} ${WRKSRC}/fltk/Nut ${STAGEDIR}${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/nuticon.xpm ${STAGEDIR}${PREFIX}/share/pixmaps -.endif ${INSTALL_PROGRAM} ${WRKSRC}/nut ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/nut.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DATADIR} @@ -59,4 +49,8 @@ do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} +do-install-FLTK-on: + ${INSTALL_PROGRAM} ${WRKSRC}/fltk/Nut ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/nuticon.xpm ${STAGEDIR}${PREFIX}/share/pixmaps + .include <bsd.port.mk> |