mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
e3c88d9c63
Submitted by: jenkins-bot via swills@
39 lines
960 B
Makefile
39 lines
960 B
Makefile
# Created by: Martin Matuska <mm@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= smake
|
|
PORTVERSION= 1.2.3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://ftp.berlios.de/pub/smake/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Portable make program with automake features
|
|
|
|
BROKEN_i386= Does not compile
|
|
|
|
LICENSE= CDDL GPLv2
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE_CDDL= ${WRKSRC}/CDDL.Schily.txt
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/.a.*//g}
|
|
|
|
USES= gmake tar:bzip2
|
|
MAKE_ENV= CCOM="${CC}"
|
|
MAKE_ARGS= INS_BASE=${PREFIX} DEFMANBASE=. CC="${CC}" CCOM="${CC}"
|
|
|
|
RULEUSED= "`${WRKSRC}/conf/oarch.sh`"
|
|
PLIST_SUB= RULESUSED="${RULEUSED}"
|
|
|
|
MKLINKS= ${WRKSRC}/RULES/MKLINKS
|
|
GCCRULE= ${WRKSRC}/RULES/cc-gcc.rul
|
|
|
|
pre-build:
|
|
@${CHMOD} +w ${MKLINKS} ${GCCRULE}
|
|
@${REINPLACE_CMD} -e 's/gcc$$/${CC}/' ${GCCRULE}
|
|
@${ECHO_CMD} "\$$symlink i386-freebsd-cc.rul ${ARCH}-freebsd-${CC}.rul" >> ${MKLINKS}
|
|
|
|
pre-install:
|
|
${STRIP_CMD} ${WRKSRC}/smake/OBJ/${ARCH}-freebsd-${CC}/smake
|
|
|
|
.include <bsd.port.mk>
|