diff options
Diffstat (limited to 'devel/flickrnet/Makefile')
-rw-r--r-- | devel/flickrnet/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/devel/flickrnet/Makefile b/devel/flickrnet/Makefile index c9366fa063f9..7a32861cd0e0 100644 --- a/devel/flickrnet/Makefile +++ b/devel/flickrnet/Makefile @@ -7,6 +7,7 @@ PORTNAME= flickrnet PORTVERSION= 2.2.0 +PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= http://romain.blogreen.org/distfiles/ DISTNAME= FlickrNet${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}-Src-48055 @@ -21,12 +22,12 @@ USE_ZIP= yes USE_GMAKE= yes WRKSRC= ${WRKDIR}/FlickrNet -do-configure: - cd ${WRKSRC} && prj2make FlickrNet.csproj +do-build: + @cd ${WRKSRC} && ${LOCALBASE}/bin/gmcs -t:library -out:FlickrNet.dll -r:System.Data -r:System.Web -r:System.Drawing *.cs do-install: ${MKDIR} ${PREFIX}/lib/mono/flickrnet - cd ${WRKSRC}/bin/Debug && ${INSTALL_DATA} FlickrNet.dll ${PREFIX}/lib/mono/flickrnet + cd ${WRKSRC} && ${INSTALL_DATA} FlickrNet.dll ${PREFIX}/lib/mono/flickrnet cd ${WRKSRC} && ${SED} -e 's|@prefix@|${PREFIX}|' < flickrnet.pc.in > flickrnet.pc cd ${WRKSRC} && ${INSTALL_DATA} flickrnet.pc ${PREFIX}/libdata/pkgconfig |