Makefile 848 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.7 2016/09/08 10:17:26 jasper Exp $
  2. COMMENT = calculate and print calendars
  3. DISTNAME = gcal-3.6.3
  4. REVISION = 1
  5. CATEGORIES = astro
  6. HOMEPAGE = https://www.gnu.org/software/gcal/
  7. MAINTAINER = Hermann Gottschalk <magnum@pestilenz.org>
  8. # GPLv2+
  9. PERMIT_PACKAGE_CDROM = Yes
  10. MASTER_SITES = ${MASTER_SITE_GNU:=gcal/}
  11. BUILD_DEPENDS = devel/gettext-tools
  12. LIB_DEPENDS = devel/gettext
  13. WANTLIB = c iconv intl m ncurses
  14. CONFIGURE_STYLE = gnu
  15. CONFIGURE_ARGS = --enable-easc
  16. CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
  17. LDFLAGS="-L${LOCALBASE}/lib"
  18. post-install:
  19. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gcal
  20. ${INSTALL_DATA} ${WRKBUILD}/data/gcalrc ${PREFIX}/share/examples/gcal
  21. ${INSTALL_DATA} ${WRKBUILD}/data/*.rc ${PREFIX}/share/examples/gcal
  22. rm ${PREFIX}/lib/charset.alias
  23. .include <bsd.port.mk>