Makefile.inc 777 B

123456789101112131415161718192021222324
  1. # $OpenBSD: Makefile.inc,v 1.11 2016/01/20 16:19:25 sthen Exp $
  2. MODULES += telephony/asterisk-sounds
  3. MODAS_NAME = asterisk-extra-sounds
  4. MODAS_TAG = asterisk-extra
  5. MODAS_DESC = additional ${MODAS_LANGNAME} sound files for Asterisk (${MODAS_CODEC})
  6. MODAS_LANGS = en en_GB fr
  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. post-install:
  14. cd ${PREFIX}/${MODAS_INST} && for i in \
  15. CHANGES-asterisk-extra-${MODAS_LANG}-${MODAS_VER} \
  16. CREDITS-asterisk-extra-${MODAS_LANG}-${MODAS_VER} \
  17. LICENSE-asterisk-extra-${MODAS_LANG}-${MODAS_VER} \
  18. extra-sounds-${MODAS_LANG}.txt; \
  19. do [ -f $$i ] && mv $$i $$i-${MODAS_CODEC}; done