blob: beb78dc7ebddc79d5f50d724be63d37d2e5b7aa2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# $NetBSD: Makefile,v 1.28 2008/03/02 03:48:36 jlam Exp $
#
DISTNAME= bicom101
PKGNAME= bicom-1.01
PKGREVISION= 2
CATEGORIES= archivers
MASTER_SITES= http://www3.sympatico.ca/mt0000/bicom/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www3.sympatico.ca/mt0000/bicom/bicom.html
COMMENT= Data compressor in the PPM family
LICENSE= bicom-license
RESTRICTED= No commercial use without prior arrangement, no permission to distribute granted.
NO_SRC_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
USE_LANGUAGES= c++
INSTALLATION_DIRS= bin
do-build:
set -e; \
for i in bialib bicom; do \
cd ${WRKSRC}/"$$i" && \
for f in *.cpp; do \
${CXX} ${CXXFLAGS} -I./ -I../bialib \
-c "$$f"; \
done; \
done
cd ${WRKSRC}/bicom && \
${CXX} ${CXXFLAGS} ${LDFLAGS} \
-o bicom *.o ../bialib/*.o
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bicom/bicom ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/bicom
${INSTALL_DATA} ${WRKSRC}/README.TXT \
${DESTDIR}${PREFIX}/share/doc/bicom/readme.txt
.include "../../mk/bsd.pkg.mk"
|