pkgsrc/archivers/bicom/Makefile
jlam a1c40fc01e We no longer need to explicitly call ${BUILDLINK_*} for CC, CXX, LIBTOOL,
etc. because the bare variables will point to the correct executables.
2004-02-08 04:03:14 +00:00

35 lines
813 B
Makefile

# $NetBSD: Makefile,v 1.14 2004/02/08 04:03:14 jlam Exp $
#
DISTNAME= bicom101
PKGNAME= bicom-1.01
CATEGORIES= archivers
MASTER_SITES= http://www3.sympatico.ca/mt0000/bicom/
EXTRACT_SUFX= .zip
MAINTAINER= ben@NetBSD.org
HOMEPAGE= http://www3.sympatico.ca/mt0000/bicom/bicom.html
COMMENT= Data compressor in the PPM family
LICENSE= no-commercial-use
WRKSRC= ${WRKDIR}
USE_BUILDLINK2= # defined
USE_GCC_SHLIB= yes
do-build:
for i in bialib bicom; do \
cd ${WRKSRC}/$$i && \
for file in *.cpp; do \
${CXX} ${CXXFLAGS} -I./ -I../bialib \
-c $$file; \
done; \
done
cd ${WRKSRC}/bicom && \
${CXX} ${CXXFLAGS} ${LDFLAGS} \
-o bicom *.o ../bialib/*.o
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bicom/bicom ${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"