PageRenderTime 44ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/x11-fm/pcmanfm/Makefile

https://github.com/johnnywalker/freebsd-ports
Makefile | 43 lines | 27 code | 9 blank | 7 comment | 0 complexity | 5c171b5807b9cc7fed14d39d8877409a MD5 | raw file
  1. # New ports collection makefile for: x11-fm/pcmanfm
  2. # Date created: 27 March 2008
  3. # Whom: Martin Tournoij <carpetsmoker@xs4all.nl>
  4. #
  5. # $Carpetsmoker: ports/x11-fm/pcmanfm/Makefile,v 1.2 2008/04/06 20:25:05 carpetsmoker Exp $
  6. # $FreeBSD$
  7. #
  8. PORTNAME= pcmanfm
  9. PORTVERSION= 0.9.9
  10. CATEGORIES= x11-fm
  11. MASTER_SITES= SF/${PORTNAME}/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/
  12. MAINTAINER= kmoore@FreeBSD.org
  13. COMMENT= PCMan File Manager
  14. LIB_DEPENDS= startup-notification-1:${PORTSDIR}/x11/startup-notification \
  15. fm-gtk.1:${PORTSDIR}/x11/libfm
  16. USE_GNOME= gtk20
  17. USE_AUTOTOOLS= libtool
  18. USE_GMAKE= yes
  19. USE_FAM= yes
  20. CPPFLAGS+= -I${LOCALBASE}/include
  21. LDFLAGS+= -L${LOCALBASE}/lib
  22. OPTIONS= NLS "Native Language Support (devel/gettext)" on
  23. .include <bsd.port.pre.mk>
  24. .if !defined(WITHOUT_NLS)
  25. USE_GETTEXT= yes
  26. PLIST_SUB+= NLS=""
  27. .else
  28. CONFIGURE_ARGS+=--disable-nls
  29. PLIST_SUB+= NLS="@comment "
  30. .endif
  31. post-patch:
  32. @${REINPLACE_CMD} -e 's|pcmanfm %U|pcmanfm ~|g' \
  33. ${WRKSRC}/data/pcmanfm.desktop
  34. .include <bsd.port.post.mk>