44 lines
847 B
Makefile
Raw Normal View History

2019-11-13 19:38:39 +00:00
# $OpenBSD: Makefile,v 1.7 2019/11/13 19:38:39 jasper Exp $
COMMENT = libsass command line driver
GH_ACCOUNT = sass
GH_PROJECT = sassc
2019-07-07 18:42:23 +00:00
GH_TAGNAME = 3.6.1
2019-11-13 19:38:39 +00:00
REVISION = 0
MAINTAINER = Jasper Lievisse Adriaanse <jasper@openbsd.org>
CATEGORIES = www
# MIT
2019-06-02 11:57:28 +00:00
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} c m sass
COMPILER = base-clang ports-gcc base-gcc
2019-11-13 19:38:39 +00:00
DEBUG_PACKAGES = ${BUILD_PACKAGES}
LIB_DEPENDS = www/libsass
AUTOMAKE_VERSION = 1.15
AUTOCONF_VERSION = 2.69
USE_GMAKE = Yes
2019-05-19 19:13:45 +00:00
CONFIGURE_STYLE = autoreconf
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib/"
NO_TEST = Yes
2018-04-24 12:27:08 +00:00
# Bypass the need to have libsass sources present.
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} BUILD=shared
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sassc ${PREFIX}/bin/
.include <bsd.port.mk>