Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= libowfat |
8 |
PORTNAME= libowfat |
9 |
PORTVERSION= 0.21 |
9 |
PORTVERSION= 0.22 |
10 |
CATEGORIES= devel ipv6 |
10 |
CATEGORIES= devel ipv6 |
11 |
MASTER_SITES= http://dl.fefe.de/ |
11 |
MASTER_SITES= http://dl.fefe.de/ |
12 |
|
12 |
|
Lines 29-38
Link Here
|
29 |
|
29 |
|
30 |
.include "${FILESDIR}/manpages" |
30 |
.include "${FILESDIR}/manpages" |
31 |
|
31 |
|
32 |
examples= examples/byte.c examples/str.c |
32 |
include= array.h buffer.h byte.h case.h dns.h errmsg.h fmt.h \ |
33 |
examplesdir= ${EXAMPLESDIR:S,^${PREFIX}/,,} |
33 |
havealloca.h io.h iob.h iopause.h ip4.h ip6.h mmap.h \ |
34 |
PLIST_DIRS= ${examplesdir} |
34 |
ndelay.h open.h openreadclose.h readclose.h safemult.h \ |
35 |
PLIST_FILES= lib/libowfat.a ${examples:S,^examples/,${examplesdir}/,} |
35 |
scan.h socket.h str.h stralloc.h tai.h taia.h textcode.h \ |
|
|
36 |
uint16.h uint32.h uint64.h |
37 |
PLIST_DIRS= include/libowfat |
38 |
PLIST_FILES= ${include:S,^,include/libowfat/,} lib/libowfat.a |
36 |
.if!defined(NOPORTDOCS) |
39 |
.if!defined(NOPORTDOCS) |
37 |
PORTDOCS= CHANGES README TODO |
40 |
PORTDOCS= CHANGES README TODO |
38 |
.endif |
41 |
.endif |
Lines 42-52
Link Here
|
42 |
${MKDIR} ${DOCSDIR} |
45 |
${MKDIR} ${DOCSDIR} |
43 |
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} |
46 |
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} |
44 |
.endif |
47 |
.endif |
45 |
${MKDIR} ${EXAMPLESDIR} |
|
|
46 |
cd ${WRKSRC} && ${INSTALL_DATA} ${examples} ${EXAMPLESDIR} |
47 |
# add installed header files to packaging list: |
48 |
@cd ${PREFIX} && \ |
49 |
${FIND} include/libowfat -type f -o -type l | ${SORT} >>${TMPPLIST} |
50 |
@${ECHO_CMD} "@dirrm include/libowfat" >>${TMPPLIST} |
51 |
|
48 |
|
52 |
.include <bsd.port.post.mk> |
49 |
.include <bsd.port.post.mk> |