blob: ddd3d987a8c99a060e39c152e04ec98c13a9752d (
plain) (
blame)
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
|
# New ports collection makefile for: wmpop3lb
# Date created: 2007-07-06
# Whom: Otavio Fernandes <otaviof@gmail.com>
#
# $FreeBSD$
#
PORTNAME= wmpop3lb
PORTVERSION= 2.4.2
CATEGORIES= mail windowmaker afterstep
MASTER_SITES= http://lbj.free.fr/wmpop3/ \
${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= otaviof@gmail.com
COMMENT= A WindowMaker dock app for multi POP3 accounts mailbox checking
USE_GMAKE= yes
USE_XORG= xext xpm
CFLAGS+= -I${LOCALBASE}/include
PLIST_FILES= bin/wmpop3lb
PORTDOCS= CHANGE_LOG COPYING INSTALL README
WRKSRC_BUILD= ${WRKSRC}/wmpop3
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e "s,cc ,${CC} ,g" \
-e "s,^FLAGS *=.*$$,FLAGS = ${CFLAGS}," \
-e "s,/usr/X11R6,${LOCALBASE},g" \
${WRKSRC_BUILD}/Makefile
do-build:
@cd ${WRKSRC_BUILD} && ${GMAKE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC_BUILD}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
. for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
. endfor
.endif
.include <bsd.port.post.mk>
|