openbsd-ports/devel/liblouis/Makefile
2013-03-27 15:29:20 +00:00

37 lines
812 B
Makefile

# $OpenBSD: Makefile,v 1.7 2013/03/27 15:29:20 ajacoutot Exp $
COMMENT= braille translator and back-translator
DISTNAME= liblouis-2.5.2
SHARED_LIBS += louis 1.0 # 5.2
CATEGORIES= devel
HOMEPAGE= http://code.google.com/p/liblouis/
# GPLv3 - LGPLv3
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c
MASTER_SITES= http://liblouis.googlecode.com/files/
MODULES= lang/python
MODPY_ADJ_FILES=tools/lou_harnessGenerator
BUILD_DEPENDS= devel/help2man
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-packager="OpenBSD Ports"
post-install:
${INSTALL_DATA_DIR} ${WRKINST}/${MODPY_SITEPKG}/louis
${INSTALL_DATA} ${WRKSRC}/python/louis/__init__.py \
${WRKINST}/${MODPY_SITEPKG}/louis
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${WRKINST}${MODPY_SITEPKG}
.include <bsd.port.mk>