View | Details | Raw Unified | Return to bug 156422
Collapse All | Expand All

(-)/usr/ports/databases/sqlite-ext-mobigroup/Makefile (-20 / +17 lines)
Lines 17-32 Link Here
17
MAINTAINER=	pavelivolkov@googlemail.com
17
MAINTAINER=	pavelivolkov@googlemail.com
18
COMMENT=	A mobigroup functions library for SQLite
18
COMMENT=	A mobigroup functions library for SQLite
19
19
20
# Soon to be expired earlier version of the port
21
CONFLICTS=	sqlite-ext-inet-[0-9].*
22
23
USE_SQLITE=	yes
20
USE_SQLITE=	yes
24
21
25
DIST_SUBDIR=	sqlite-ext
22
DIST_SUBDIR=	sqlite-ext
26
NO_WRKSUBDIR=	yes
23
NO_WRKSUBDIR=	yes
27
24
28
SQLITE_NAME=	sqlite3
25
SQLITE_NAME=	sqlite3
29
SQLITE_VERSION=	3.7.2
26
SQLITE_VERSION=	3.7.5
30
27
31
USE_LDCONFIG=	${PREFIX}/libexec/${DIST_SUBDIR}
28
USE_LDCONFIG=	${PREFIX}/libexec/${DIST_SUBDIR}
32
29
Lines 59-77 Link Here
59
56
60
do-build:
57
do-build:
61
.ifdef WITH_COMPRESS
58
.ifdef WITH_COMPRESS
62
	@cd ${WRKSRC}/${SQLITE_NAME}/ext/_compress && \
59
	@cd ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/_compress && \
63
		${CC} -lz ${CFLAGS} compress.c -o libsqlitecompress.so
60
		${CC} -lz ${CFLAGS} compress.c -o libsqlitecompress.so
64
.endif
61
.endif
65
.ifdef WITH_INET
62
.ifdef WITH_INET
66
	@cd ${WRKSRC}/${SQLITE_NAME}/ext/inet && \
63
	@cd ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/inet && \
67
		${CC} ${CFLAGS} ipv4-ext.c -o libsqliteipv4.so
64
		${CC} ${CFLAGS} ipv4-ext.c -o libsqliteipv4.so
68
.endif
65
.endif
69
.ifdef WITH_ENV
66
.ifdef WITH_ENV
70
	@cd ${WRKSRC}/${SQLITE_NAME}/ext/env && \
67
	@cd ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/env && \
71
		${CC} ${CFLAGS} env.c -o libsqliteenv.so
68
		${CC} ${CFLAGS} env.c -o libsqliteenv.so
72
.endif
69
.endif
73
.ifdef WITH_MD5
70
.ifdef WITH_MD5
74
	@cd ${WRKSRC}/${SQLITE_NAME}/ext/md5 && \
71
	@cd ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/md5 && \
75
		${CC} ${CFLAGS} md5.c -o libsqlitemd5.so
72
		${CC} ${CFLAGS} md5.c -o libsqlitemd5.so
76
.endif
73
.endif
77
74
Lines 84-116 Link Here
84
	@${MKDIR} ${EXAMPLESDIR}
81
	@${MKDIR} ${EXAMPLESDIR}
85
.endif
82
.endif
86
.ifdef WITH_COMPRESS
83
.ifdef WITH_COMPRESS
87
	@${INSTALL_PROGRAM} ${WRKSRC}/${SQLITE_NAME}/ext/_compress/libsqlitecompress.so ${PREFIX}/libexec/${DIST_SUBDIR}
84
	@${INSTALL_PROGRAM} ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/_compress/libsqlitecompress.so ${PREFIX}/libexec/${DIST_SUBDIR}
88
.endif
85
.endif
89
.ifdef WITH_INET
86
.ifdef WITH_INET
90
	@${INSTALL_PROGRAM} ${WRKSRC}/${SQLITE_NAME}/ext/inet/libsqliteipv4.so ${PREFIX}/libexec/${DIST_SUBDIR}
87
	@${INSTALL_PROGRAM} ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/inet/libsqliteipv4.so ${PREFIX}/libexec/${DIST_SUBDIR}
91
.	ifndef NOPORTDOCS
88
.	ifndef NOPORTDOCS
92
		@${SED} '/\/\*/d;/\*\//,$$d' ${WRKSRC}/${SQLITE_NAME}/ext/inet/ipv4-ext.c > ${WRKSRC}/${SQLITE_NAME}/ext/inet/README-ipv4.txt
89
		@${SED} '/\/\*/d;/\*\//,$$d' ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/inet/ipv4-ext.c > ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/inet/README-ipv4.txt
93
		@${INSTALL_DATA} ${WRKSRC}/${SQLITE_NAME}/ext/inet/README-ipv4.txt ${DOCSDIR}
90
		@${INSTALL_DATA} ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/inet/README-ipv4.txt ${DOCSDIR}
94
.	endif
91
.	endif
95
.	ifndef NOPORTEXAMPLES
92
.	ifndef NOPORTEXAMPLES
96
		@${INSTALL_DATA} ${WRKSRC}/${SQLITE_NAME}/ext/inet/ipv4-ext.sql ${EXAMPLESDIR}
93
		@${INSTALL_DATA} ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/inet/ipv4-ext.sql ${EXAMPLESDIR}
97
.	endif
94
.	endif
98
.endif
95
.endif
99
.ifdef WITH_ENV
96
.ifdef WITH_ENV
100
	@${INSTALL_PROGRAM} ${WRKSRC}/${SQLITE_NAME}/ext/env/libsqliteenv.so ${PREFIX}/libexec/${DIST_SUBDIR}
97
	@${INSTALL_PROGRAM} ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/env/libsqliteenv.so ${PREFIX}/libexec/${DIST_SUBDIR}
101
.	ifndef NOPORTDOCS
98
.	ifndef NOPORTDOCS
102
		@${SED} '/\/\*/d;/\*\//,$$d' ${WRKSRC}/${SQLITE_NAME}/ext/env/env.c > ${WRKSRC}/${SQLITE_NAME}/ext/env/README-env.txt
99
		@${SED} '/\/\*/d;/\*\//,$$d' ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/env/env.c > ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/env/README-env.txt
103
		@${INSTALL_DATA} ${WRKSRC}/${SQLITE_NAME}/ext/env/README-env.txt ${DOCSDIR}
100
		@${INSTALL_DATA} ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/env/README-env.txt ${DOCSDIR}
104
.	endif
101
.	endif
105
.endif
102
.endif
106
.ifdef WITH_MD5
103
.ifdef WITH_MD5
107
	@${INSTALL_PROGRAM} ${WRKSRC}/${SQLITE_NAME}/ext/md5/libsqlitemd5.so ${PREFIX}/libexec/${DIST_SUBDIR}
104
	@${INSTALL_PROGRAM} ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/md5/libsqlitemd5.so ${PREFIX}/libexec/${DIST_SUBDIR}
108
.	ifndef NOPORTDOCS
105
.	ifndef NOPORTDOCS
109
		@${SED} '/\/\*/d;/\*\//,$$d' ${WRKSRC}/${SQLITE_NAME}/ext/md5/md5.c > ${WRKSRC}/${SQLITE_NAME}/ext/md5/README-md5.txt
106
		@${SED} '/\/\*/d;/\*\//,$$d' ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/md5/md5.c > ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/md5/README-md5.txt
110
		@${INSTALL_DATA} ${WRKSRC}/${SQLITE_NAME}/ext/md5/README-md5.txt ${DOCSDIR}
107
		@${INSTALL_DATA} ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/md5/README-md5.txt ${DOCSDIR}
111
.	endif
108
.	endif
112
.	ifndef NOPORTEXAMPLES
109
.	ifndef NOPORTEXAMPLES
113
		@${INSTALL_DATA} ${WRKSRC}/${SQLITE_NAME}/ext/md5/md5.sql ${EXAMPLESDIR}
110
		@${INSTALL_DATA} ${WRKSRC}/${SQLITE_NAME}-${SQLITE_VERSION}/ext/md5/md5.sql ${EXAMPLESDIR}
114
.	endif
111
.	endif
115
.endif
112
.endif
116
113
(-)/usr/ports/databases/sqlite-ext-mobigroup/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (sqlite-ext/sqlite3_3.7.2-mobigroup.1.tar.gz) = f9616819969b00802b42e1d8b8599878a3774df268aebfdd78ed2a3051f1ead6
1
SHA256 (sqlite-ext/sqlite3_3.7.5-mobigroup.1.tar.gz) = 5e1b0d82c9ae8ab255a0cecf6de62d8bb1c257d88648630736d7d42ba84f895e
2
SIZE (sqlite-ext/sqlite3_3.7.2-mobigroup.1.tar.gz) = 3923088
2
SIZE (sqlite-ext/sqlite3_3.7.5-mobigroup.1.tar.gz) = 6745516

Return to bug 156422