Makefile 953 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.2 2016/01/24 10:56:36 ajacoutot Exp $
  2. COMMENT = programs providing a simple interface to inotify
  3. DISTNAME = inotify-tools-3.14pl0
  4. CATEGORIES = sysutils
  5. GH_ACCOUNT = rvoicilas
  6. GH_PROJECT = inotify-tools
  7. GH_COMMIT = 1df9af4d6cd0f4af4b1b19254bcf056aed4ae395
  8. SHARED_LIBS = inotifytools 0.0 # 4.1
  9. # GPLv2
  10. PERMIT_PACKAGE_CDROM = Yes
  11. AUTOMAKE_VERSION = 1.9
  12. AUTOCONF_VERSION = 2.59
  13. CONFIGURE_STYLE = gnu
  14. CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include/inotify/" \
  15. LDFLAGS="-L${LOCALBASE}/lib/inotify -linotify -Wl,-rpath ${LOCALBASE}/lib/inotify"
  16. CONFIGURE_ARGS = --disable-doxygen
  17. LIB_DEPENDS = devel/libinotify
  18. BUILD_DEPENDS += ${MODGNU_AUTOCONF_DEPENDS} \
  19. ${MODGNU_AUTOMAKE_DEPENDS} \
  20. devel/libtool
  21. WANTLIB += lib/inotify/inotify c pthread
  22. pre-configure:
  23. cd ${WRKSRC} && \
  24. libtoolize && \
  25. env AUTOMAKE_VERSION=${AUTOMAKE_VERSION} AUTOCONF_VERSION=${AUTOCONF_VERSION} \
  26. autoreconf -fi
  27. .include <bsd.port.mk>