diff options
author | jim <jim@FreeBSD.org> | 2000-08-13 09:33:27 +0000 |
---|---|---|
committer | jim <jim@FreeBSD.org> | 2000-08-13 09:33:27 +0000 |
commit | 417e0370c5bdf0eec5ea386c33f6a9cf85e535c5 (patch) | |
tree | 1e168b4aab4862e9e311aaa91fdfb37822bd1e10 /mail/wmpop3 | |
parent | 382aabc12b163a730088f4909eaee3b50e18f62c (diff) | |
download | FreeBSD-ports-417e0370c5bdf0eec5ea386c33f6a9cf85e535c5.zip FreeBSD-ports-417e0370c5bdf0eec5ea386c33f6a9cf85e535c5.tar.gz |
Support X11BASE properly, remove USE_GMAKE.
PR: 20545
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'mail/wmpop3')
-rw-r--r-- | mail/wmpop3/Makefile | 23 | ||||
-rw-r--r-- | mail/wmpop3/files/patch-aa | 33 |
2 files changed, 13 insertions, 43 deletions
diff --git a/mail/wmpop3/Makefile b/mail/wmpop3/Makefile index 57dc247..0b65a15 100644 --- a/mail/wmpop3/Makefile +++ b/mail/wmpop3/Makefile @@ -13,24 +13,23 @@ DISTNAME= WMPop3-${PORTVERSION} MAINTAINER= jim@FreeBSD.org -USE_GMAKE= yes WRKSRC= ${WRKDIR}/${PKGNAME}/wmpop3 + USE_X_PREFIX= yes USE_XPM= yes +ALL_TARGET= clean all -.include <bsd.port.pre.mk> - -pre-build: - (cd ${WRKSRC} && ${GMAKE} clean) - -post-install: +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/wmpop3 ${PREFIX}/bin @${ECHO} "===> Installing wmpop3rc in ${PREFIX}/share/examples/wmpop3" @${ECHO} "===> Modify to your config and copy to ~/.wmpop3rc" - @${MKDIR} ${PREFIX}/share/examples/wmpop3 && ${CHMOD} a+rx ${PREFIX}/share/examples/wmpop3 - @${INSTALL_DATA} ${WRKSRC}/wmpop3rc ${PREFIX}/share/examples/wmpop3 + @${MKDIR} ${PREFIX}/share/examples/wmpop3 + ${INSTALL_DATA} ${WRKSRC}/wmpop3rc ${PREFIX}/share/examples/wmpop3 +.if !defined(NOPORTDOCS) @${ECHO} "===> Installing README in ${PREFIX}/share/doc/wmpop3" @${ECHO} "===> Please read it for usage instructions" - @${MKDIR} ${PREFIX}/share/doc/wmpop3 && ${CHMOD} a+rx ${PREFIX}/share/doc/wmpop3 - @${INSTALL_DATA} ${WRKDIR}/${PKGNAME}/README ${PREFIX}/share/doc/wmpop3 + @${MKDIR} ${PREFIX}/share/doc/wmpop3 + ${INSTALL_DATA} ${WRKDIR}/${PKGNAME}/README ${PREFIX}/share/doc/wmpop3 +.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/mail/wmpop3/files/patch-aa b/mail/wmpop3/files/patch-aa index ac77885..c6ea75d 100644 --- a/mail/wmpop3/files/patch-aa +++ b/mail/wmpop3/files/patch-aa @@ -14,40 +14,11 @@ .c.o: - cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o -+ ${CC} -I/usr/X11R6/include $(CFLAGS) -c -Wall $< -o $*.o ++ ${CC} -I${X11BASE}/include $(CFLAGS) -c $< -o $@ wmpop3: $(OBJS) - cc $(FLAGS) -o wmpop3 $^ -lXext $(LIBDIR) $(LIBS) -+ ${CC} $(CFLAGS) -o wmpop3 $^ -lXext $(LIBDIR) $(LIBS) ++ ${CC} $(CFLAGS) -o wmpop3 $(OBJS) -lXext $(LIBDIR) $(LIBS) all:: wmpop3 -@@ -24,25 +24,7 @@ - rm -f *~ - - install:: wmpop3 -- @echo "Use 'make install1' for system install." -- @echo "Use 'make install2' for single user install." -- @echo -- --install1:: wmpop3 -- cp -f wmpop3 /usr/local/bin/ -- chmod 755 /usr/local/bin/wmpop3 -- chown root:root /usr/local/bin/wmpop3 -- @echo -- @echo "WMPop3 Installation finished..." -- --install2:: wmpop3 -- mkdir $(HOME)/wmpop3 -- cp -f wmpop3 $(HOME)/wmpop3 -- chmod 755 $(HOME)/wmpop3 -- cp -f wmpop3rc $(HOME)/.wmpop3rc -- chmod 600 $(HOME)/.wmpop3rc -- @echo "WMPop3 Installation finished..." -- @echo -- @echo "Make sure ~/wmpop3 is in your path" -- @echo -+ cp -f wmpop3 /usr/X11R6/bin/ -+ chmod 755 /usr/X11R6/bin/wmpop3 -+ chown root.wheel /usr/X11R6/bin/wmpop3 - @echo "Please edit ~/.wmpop3rc before running WMPop3." |