diff options
author | sf <sf@FreeBSD.org> | 2003-07-14 02:53:03 +0000 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2003-07-14 02:53:03 +0000 |
commit | 971087c2b4d6b0b917e3fac3ac1334b04f7c9907 (patch) | |
tree | 7181a8316bbb1b7be4386d9173b3c6ace07025da /x11/wmappl | |
parent | 0cc85c09b55a7d94ca1d7c16c8eedae091f2840c (diff) | |
download | FreeBSD-ports-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.zip FreeBSD-ports-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.tar.gz |
get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
Diffstat (limited to 'x11/wmappl')
-rw-r--r-- | x11/wmappl/Makefile | 10 | ||||
-rw-r--r-- | x11/wmappl/files/patch-Makefile | 8 |
2 files changed, 10 insertions, 8 deletions
diff --git a/x11/wmappl/Makefile b/x11/wmappl/Makefile index 155ccf3..43eaebe 100644 --- a/x11/wmappl/Makefile +++ b/x11/wmappl/Makefile @@ -7,6 +7,7 @@ PORTNAME= wmappl PORTVERSION= 0.6 +PORTREVISION= 1 CATEGORIES= x11 windowmaker MASTER_SITES= http://www.upl.cs.wisc.edu/~charkins/wmappl/ .ifndef(NOICONS) @@ -17,11 +18,12 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= od@iclub.nsu.ru COMMENT= An application launcher dockapp similar to wmbutton -LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt - +USE_GETOPT_LONG=yes USE_X_PREFIX= yes USE_XPM= yes -MAKE_ENV= DATADIR="${DATADIR}" +MAKE_ENV= DATADIR="${DATADIR}" \ + CPPFLAGS="${CPPFLAGS}" \ + LDFLAGS="${LDFLAGS}" ICONSDIST= 16x16xpms.tar.gz icons_16x16.tar.gz smallicons.tar.gz .ifndef(NOICONS) PLIST_SUB= ICONS="" @@ -49,7 +51,7 @@ post-install: @${ECHO_CMD} "" @${ECHO_CMD} "===> Installing icons to ${DATADIR} directory" @${MKDIR} ${DATADIR} - @${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${DATADIR} + @(cd ${WRKSRC}/icons; ${INSTALL_DATA} *.xpm ${DATADIR}) .endif .ifndef(NOPORTDOCS) @${ECHO_CMD} "===> Installing README as ${DOCSDIR}/README" diff --git a/x11/wmappl/files/patch-Makefile b/x11/wmappl/files/patch-Makefile index df195e3..aeeeba2 100644 --- a/x11/wmappl/files/patch-Makefile +++ b/x11/wmappl/files/patch-Makefile @@ -11,14 +11,14 @@ -DESTDIR = /usr/X11R6/bin -ICONDIR = /usr/share/icons/wmappl +CFLAGS += -DICONPATH=\"${DATADIR}\" -+INCDIR = -I${X11BASE}/include/X11 -I${X11BASE}/include -I${LOCALBASE}/include -+LIBDIR = -L${X11BASE}/lib -L${LOCALBASE}/lib ++INCDIR = -I${X11BASE}/include/X11 -I${X11BASE}/include ${CPPFLAGS} ++LIBDIR = -L${X11BASE}/lib +DESTDIR = ${X11BASE}/bin +ICONDIR = ${DATADIR} # for linux -LIBS = -lXpm -lX11 -lXext -+LIBS = -lXpm -lX11 -lXext -lgnugetopt ++LIBS = -lXpm -lX11 -lXext # for Solaris # LIBS = -lXpm -lX11 -lXext -lsocket @@ -27,7 +27,7 @@ $(TARGET): $(OBJS) - $(CC) $(CFLAGS) -o $(TARGET) $^ $(INCDIR) $(LIBDIR) $(LIBS) -+ $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(INCDIR) $(LIBDIR) $(LIBS) ++ $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(INCDIR) $(LDFLAGS) $(LIBDIR) $(LIBS) clean: for i in $(OBJS) ; do \ |