Makefile 719 B

12345678910111213141516171819202122232425262728293031
  1. PORTNAME= modernish
  2. DISTVERSIONPREFIX= v
  3. DISTVERSION= 0.16.5
  4. CATEGORIES= shells
  5. MAINTAINER= 0mp@FreeBSD.org
  6. COMMENT= POSIX shell feature detection and language extension library
  7. WWW= https://github.com/modernish/modernish
  8. LICENSE= ISCL
  9. LICENSE_FILE= ${WRKSRC}/LICENSE
  10. USE_GITHUB= yes
  11. NO_ARCH= yes
  12. NO_BUILD= yes
  13. OPTIONS_DEFINE= DOCS EXAMPLES
  14. do-install:
  15. cd ${WRKSRC} && \
  16. ${SETENV} ${MAKE_ENV} script -q /dev/stdout \
  17. ${SH} -x ./install.sh -d ${PREFIX} -D ${STAGEDIR} -n -s ${SH}
  18. ${RM} ${STAGEDIR}${DOCSDIR}/LICENSE
  19. ${MKDIR} ${STAGEDIR}${EXAMPLESDIR:H}
  20. ${MV} ${STAGEDIR}${DOCSDIR}/examples ${STAGEDIR}${EXAMPLESDIR}
  21. ${RLN} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}/examples
  22. .include <bsd.port.mk>