Makefile.inc 986 B

1234567891011121314151617181920212223242526272829
  1. # $OpenBSD: Makefile.inc,v 1.13 2016/06/25 13:38:16 sthen Exp $
  2. MODULES += telephony/asterisk-sounds
  3. MODAS_NAME = asterisk-core-sounds
  4. MODAS_TAG = asterisk-core
  5. MODAS_DESC = core ${MODAS_LANGNAME} sound files for Asterisk (${MODAS_CODEC})
  6. MODAS_LANGS = en en_AU en_GB es fr it ja ru sv
  7. MODAS_VER ?= 1.5
  8. MAINTAINER = Stuart Henderson <sthen@openbsd.org>
  9. # CC-BY-SA
  10. PERMIT_PACKAGE_CDROM = Yes
  11. PKGDIR = ${.CURDIR}/../pkg
  12. PLIST = ${PKGDIR}/PLIST-${MODAS_LANG}
  13. #CHECKSUM_FILE = ${.CURDIR}/../distinfo
  14. post-install:
  15. -cd ${PREFIX}/${MODAS_INST} && \
  16. for i in CHANGES CREDITS LICENSE; do mv \
  17. $$i-asterisk-core-${MODAS_LANG}-1.4.27 \
  18. $$i-asterisk-core-${MODAS_LANG}-1.5; done; \
  19. for i in \
  20. CHANGES-asterisk-core-${MODAS_LANG}-${MODAS_VER} \
  21. CREDITS-asterisk-core-${MODAS_LANG}-${MODAS_VER} \
  22. LICENSE-asterisk-core-${MODAS_LANG}-${MODAS_VER} \
  23. core-sounds-${MODAS_LANG}.txt \
  24. core-sounds-${MODAS_LANG}; do mv $$i $$i-${MODAS_CODEC}; done